[arch-commits] Commit in shhopt/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:33:39 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:33:38
  Author: felixonmars
Revision: 659780

archrelease: copy trunk to community-staging-x86_64

Added:
  shhopt/repos/community-staging-x86_64/
  shhopt/repos/community-staging-x86_64/PKGBUILD
    (from rev 659779, shhopt/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: shhopt/repos/community-staging-x86_64/PKGBUILD (from rev 659779, shhopt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:33:38 UTC (rev 659780)
@@ -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=5
+pkgdesc="Library for parsing command line options"
+arch=('x86_64')
+url="https://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