diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 22 insertions, 22 deletions
@@ -1,16 +1,15 @@ pkgbase = pacutils-git - pkgdesc = alpm front-end tools - pkgver = 0.11.0 + pkgdesc = Helper tools for libalpm + pkgver = 0.11.1.r9.gc14c4e1 pkgrel = 1 url = https://github.com/andrewgregory/pacutils - arch = i686 arch = x86_64 license = MIT makedepends = git - depends = pacman>=6.0 - provides = pacutils=0.11.0 + depends = pacman + provides = pacutils conflicts = pacutils - source = pacutils-git::git://github.com/andrewgregory/pacutils.git + source = git+https://github.com/andrewgregory/pacutils sha1sums = SKIP pkgname = pacutils-git diff --git a/.gitignore b/.gitignore index 2aa68adacf90..758599962e36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *.tar.* -pacutils-git/ +pacutils/ pkg/ src/ @@ -1,36 +1,37 @@ +# Maintainer: a821 +# Contributor: agp +# Contributor: Johannes Löthberg pkgname=pacutils-git -pkgdesc='alpm front-end tools' -url='https://github.com/andrewgregory/pacutils' -pkgver=0.11.0 +pkgver=0.11.1.r9.gc14c4e1 pkgrel=1 -arch=('i686' 'x86_64') -depends=('pacman>=6.0') +pkgdesc='Helper tools for libalpm' +url='https://github.com/andrewgregory/pacutils' +arch=('x86_64') +depends=('pacman') makedepends=('git') conflicts=('pacutils') -provides=("pacutils=$pkgver") +provides=("pacutils") license=('MIT') -source=("$pkgname::git://github.com/andrewgregory/pacutils.git") +source=("git+${url}") sha1sums=('SKIP') pkgver() { - cd "$srcdir/$pkgname" - git describe --tags | sed 's/^v//; s/-/./g' + cd pacutils + git describe --tags | sed 's/^v//;s/-/.r/;s/-/./' } - build() { - cd "$srcdir/$pkgname" - make SYSCONFDIR=/etc LOCALSTATEDIR=/var - make doc + cd pacutils + make CFLAGS="$CFLAGS $LDFLAGS" SYSCONFDIR=/etc LOCALSTATEDIR=/var } check() { - cd "$srcdir/$pkgname" + cd pacutils make check } package() { - cd "$srcdir/$pkgname" + cd pacutils make DESTDIR="$pkgdir" PREFIX=/usr install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } |