From ff2aa079062c7471c39590abf33d3f38b0c4abc7 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Mon, 30 Jun 2014 17:03:20 -0400 Subject: PKGBUILD-git improvements - Remove two configure flags which just caused warnings. - Replace `pkgver` function with a working one. - Explicititly `cd` into `srcdir` before `gitname` as found in `PKGBUILD-git.proto`. - Bump `pkgrel`. - Specify correct package version. --- arch/PKGBUILD.in | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'arch/PKGBUILD.in') diff --git a/arch/PKGBUILD.in b/arch/PKGBUILD.in index 3e197d9..957aca9 100644 --- a/arch/PKGBUILD.in +++ b/arch/PKGBUILD.in @@ -1,7 +1,7 @@ # Maintainer: Pat Brisbin pkgname='@PACKAGE@' pkgver=@PACKAGE_VERSION@ -pkgrel=1 +pkgrel=2 pkgdesc="rc file (dotfile) management" arch=('any') url="http://thoughtbot.github.io/@PACKAGE@/" @@ -12,21 +12,15 @@ sha1sums=('@DIST_SHA@') build() { cd "$srcdir/$pkgname-$pkgver" - ./configure \ - --disable-debug \ - --disable-dependency-tracking \ --disable-silent-rules \ --prefix=/usr - make } package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" } -- cgit v1.2.3