summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md36
-rw-r--r--aur/bond-git/.SRCINFO18
-rw-r--r--aur/bond-git/PKGBUILD39
-rw-r--r--aur/coreclr-git/.SRCINFO22
-rw-r--r--aur/coreclr-git/PKGBUILD35
-rw-r--r--aur/disque-git/.SRCINFO (renamed from .SRCINFO)0
-rw-r--r--aur/disque-git/PKGBUILD (renamed from PKGBUILD)0
-rwxr-xr-xpkg.sh45
8 files changed, 195 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..779182e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,36 @@
+# Arch Linux Packages
+
+A collection of all the Arch Linux packages I maintain, currently AUR packages only.
+
+Should be identical to https://aur.archlinux.org/packages/?SeB=m&K=yuvadm
+
+Feel free to open issues/PRs in this repository for fixes to be merged into the AUR.
+
+## Usage
+
+The management of this repository is implemented using [git subtree](https://git.kernel.org/cgit/git/git.git/plain/contrib/subtree/git-subtree.txt) which allows all changes to be tracked in this single repo, as well as publish changes to each separate AUR package remote.
+
+Use the `pkg.sh` wrapper script to run the common commands:
+
+### Add New Package
+
+```bash
+$ ./pkg.sh add pkgname
+```
+
+### Update Package
+
+Edit the relevant files in `aur/$pkgname` and then
+
+```bash
+$ git commit -m "Bumped $pkgname to v1.2.3"
+$ ./pkg.sh update pkgname
+```
+
+### Import Packages
+
+Many packages can be initially imported by running
+
+```bash
+$ ./pkg.sh import pkgname1 pkgname2 pkgname3
+```
diff --git a/aur/bond-git/.SRCINFO b/aur/bond-git/.SRCINFO
new file mode 100644
index 0000000..d216832
--- /dev/null
+++ b/aur/bond-git/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = bond-git
+ pkgdesc = A cross-platform framework for working with schematized data
+ pkgver = 7a14f45
+ pkgrel = 1
+ url = https://github.com/microsoft/bond/
+ arch = any
+ license = MIT
+ makedepends = cmake
+ makedepends = boost
+ makedepends = ghc
+ makedepends = cabal-install
+ makedepends = rapidjson-git
+ provides = bond
+ source = bond-git::git+https://github.com/microsoft/bond/
+ sha1sums = SKIP
+
+pkgname = bond-git
+
diff --git a/aur/bond-git/PKGBUILD b/aur/bond-git/PKGBUILD
new file mode 100644
index 0000000..a918889
--- /dev/null
+++ b/aur/bond-git/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
+
+pkgname=bond-git
+pkgver=7a14f45
+pkgrel=1
+pkgdesc="A cross-platform framework for working with schematized data"
+arch=('any')
+url="https://github.com/microsoft/bond/"
+license=(MIT)
+depends=('')
+makedepends=('cmake' 'boost' 'ghc' 'cabal-install' 'rapidjson-git')
+provides=('bond')
+source=("$pkgname::git+$url")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ echo $(git describe --always | sed 's/-/./g')
+}
+
+build() {
+ cd "$pkgname"
+
+ # update cabal before we start
+ cabal update
+
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "$pkgname"
+ cd build
+ make DESTDIR=${pkgdir} install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/aur/coreclr-git/.SRCINFO b/aur/coreclr-git/.SRCINFO
new file mode 100644
index 0000000..b932123
--- /dev/null
+++ b/aur/coreclr-git/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = coreclr-git
+ pkgdesc = The .NET Core Runtime
+ pkgver = 32b981a
+ pkgrel = 1
+ url = https://github.com/dotnet/coreclr
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = cmake
+ makedepends = clang35
+ makedepends = llvm35
+ depends = icu
+ depends = lldb
+ depends = libunwind
+ depends = lttng-ust
+ optdepends = mono: for building mscorlib.dll
+ provides = coreclr
+ source = git+https://github.com/dotnet/coreclr
+ sha1sums = SKIP
+
+pkgname = coreclr-git
+
diff --git a/aur/coreclr-git/PKGBUILD b/aur/coreclr-git/PKGBUILD
new file mode 100644
index 0000000..0dac5d7
--- /dev/null
+++ b/aur/coreclr-git/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
+
+pkgname=coreclr-git
+pkgver=32b981a
+pkgrel=1
+pkgdesc="The .NET Core Runtime"
+arch=('x86_64')
+url="https://github.com/dotnet/coreclr"
+license=(MIT)
+depends=('icu' 'lldb' 'libunwind' 'lttng-ust')
+makedepends=('git' 'cmake' 'clang35' 'llvm35')
+optdepends=('mono: for building mscorlib.dll')
+provides=('coreclr')
+source=('git+https://github.com/dotnet/coreclr')
+sha1sums=('SKIP')
+_gitname=coreclr
+
+pkgver() {
+ cd $_gitname
+ echo $(git describe --always | sed 's/-/./g')
+}
+
+build() {
+ cd $_gitname
+ ./build.sh
+}
+
+package() {
+ install -Dm755 ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/corerun ${pkgdir}/usr/bin/corerun
+ install -d ${pkgdir}/usr/{lib,include}
+ install ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/*.so ${pkgdir}/usr/lib/
+ install ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/inc/*.h ${pkgdir}/usr/include/
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/.SRCINFO b/aur/disque-git/.SRCINFO
index 0c58e95..0c58e95 100644
--- a/.SRCINFO
+++ b/aur/disque-git/.SRCINFO
diff --git a/PKGBUILD b/aur/disque-git/PKGBUILD
index 7c7ef30..7c7ef30 100644
--- a/PKGBUILD
+++ b/aur/disque-git/PKGBUILD
diff --git a/pkg.sh b/pkg.sh
new file mode 100755
index 0000000..521d814
--- /dev/null
+++ b/pkg.sh
@@ -0,0 +1,45 @@
+usage() {
+ echo ""
+ echo "Usage: $0 <add|update> <pkgname>"
+ echo " $0 import <pkgname> [pkgname] ..."
+ echo ""
+ echo "This script wraps the typical AUR creation and update procedures"
+ echo ""
+ exit 1
+}
+
+add_pkg() {
+ local pkgname="$1"
+ [[ -z $pkgname ]] && usage
+
+ git remote add -f $pkgname "ssh://aur@aur.archlinux.org/$pkgname.git"
+ git subtree add --prefix "aur/$pkgname" $pkgname master
+}
+
+update_pkg() {
+ local pkgname="$1"
+ [[ -z $pkgname ]] && usage
+
+ git subtree push --prefix "aur/$pkgname" $pkgname master
+}
+
+import_pkgs() {
+ for pkgname in "$@"
+ do
+ add_pkg $pkgname
+ done
+}
+
+case "$1" in
+ add)
+ add_pkg $2
+ ;;
+ update)
+ update_pkg $2
+ ;;
+ import)
+ import_pkgs "${@:2}"
+ ;;
+ *)
+ usage
+esac