diff options
author | Dave Reisner | 2015-07-04 13:47:16 -0400 |
---|---|---|
committer | Dave Reisner | 2015-07-04 13:47:16 -0400 |
commit | b30c45d4579a447b0de6c81e0e9382499aebdae6 (patch) | |
tree | fc6fd46104afd4b29e3e8bf4dbec4503c93c5a3a | |
download | aur-b30c45d4579a447b0de6c81e0e9382499aebdae6.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8f6f747a68c3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = asp-git + pkgdesc = Arch Linux build source file management (git version) + pkgver = r29.991717a + pkgrel = 1 + url = http://github.com/falconindy/asp + arch = any + license = MIT + makedepends = asciidoc + depends = awk + depends = bash + depends = git + provides = asp + conflicts = asp + source = git://github.com/falconindy/asp + md5sums = SKIP + +pkgname = asp-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ad86af8b91a5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Dave Reisner <d@falconindy.com> + +pkgname=asp-git +pkgver=r29.991717a +pkgrel=1 +pkgdesc="Arch Linux build source file management (git version)" +arch=('any') +url="http://github.com/falconindy/asp" +license=('MIT') +depends=('awk' 'bash' 'git') +makedepends=('asciidoc') +conflicts=('asp') +provides=('asp') +source=("git://github.com/falconindy/asp") +md5sums=('SKIP') + +pkgver() { + cd 'asp' + + # change this once there's a tag + printf 'r%s.%s\n' "$(git rev-list HEAD | wc -l)" "$(git describe --always)" +} + +build() { + make -C asp +} + +package() { + make -C asp PREFIX=/usr DESTDIR="$pkgdir" install + + install -Dm644 asp/LICENSE "$pkgdir/usr/share/licenses/asp/LICENSE" +} + +# vim: ft=sh syn=sh et |