[arch-commits] Commit in shhopt/trunk (PKGBUILD)
Jonathan Steel
jsteel at archlinux.org
Mon Jul 10 13:13:04 UTC 2017
Date: Monday, July 10, 2017 @ 13:13:04
Author: jsteel
Revision: 243623
upgpkg: shhopt 1.1.7-3
Correct license and include docs
Modified:
shhopt/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-10 13:07:47 UTC (rev 243622)
+++ PKGBUILD 2017-07-10 13:13:04 UTC (rev 243623)
@@ -1,19 +1,19 @@
-# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Peter Simons <simons at cryp.to>
pkgname=shhopt
pkgver=1.1.7
-pkgrel=2
+pkgrel=3
pkgdesc="Library for parsing command line options"
arch=('i686' 'x86_64')
url="http://shh.thathost.com/pub-unix"
-license=('GPL')
+license=('PerlArtistic')
options=('staticlibs')
source=($url/files/$pkgname-$pkgver.tar.gz)
md5sums=('caf24206354296e8a48771aea1f47fbd')
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $pkgname-$pkgver
make OPTIM="$CFLAGS" dep
make OPTIM="$CFLAGS"
@@ -20,7 +20,11 @@
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $pkgname-$pkgver
make OPTIM="$CFLAGS" INSTBASEDIR="$pkgdir"/usr/ install
+
+ for i in ChangeLog CREDITS INSTALL README; do
+ install -Dm644 $i "$pkgdir"/usr/share/doc/$pkgname/$i
+ done
}
More information about the arch-commits
mailing list