[arch-commits] Commit in shhopt/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 9 22:12:22 UTC 2018
Date: Friday, November 9, 2018 @ 22:12:19
Author: foutrelis
Revision: 404879
archrelease: copy trunk to community-staging-x86_64
Added:
shhopt/repos/community-staging-x86_64/
shhopt/repos/community-staging-x86_64/PKGBUILD
(from rev 404878, shhopt/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: shhopt/repos/community-staging-x86_64/PKGBUILD (from rev 404878, shhopt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 22:12:19 UTC (rev 404879)
@@ -0,0 +1,30 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Peter Simons <simons at cryp.to>
+
+pkgname=shhopt
+pkgver=1.1.7
+pkgrel=4
+pkgdesc="Library for parsing command line options"
+arch=('x86_64')
+url="http://shh.thathost.com/pub-unix"
+license=('PerlArtistic')
+options=('staticlibs')
+source=($url/files/$pkgname-$pkgver.tar.gz)
+md5sums=('caf24206354296e8a48771aea1f47fbd')
+
+build() {
+ cd $pkgname-$pkgver
+
+ make OPTIM="$CFLAGS" dep
+ make OPTIM="$CFLAGS"
+}
+
+package() {
+ 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