summaryrefslogtreecommitdiff
path: root/community/shhopt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/shhopt/PKGBUILD')
-rw-r--r--community/shhopt/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/shhopt/PKGBUILD b/community/shhopt/PKGBUILD
new file mode 100644
index 000000000..701b32fdb
--- /dev/null
+++ b/community/shhopt/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: jsteel <jsteel@aur.archlinux.org>
+# Contributor: Peter Simons <simons@cryp.to>
+
+pkgname=shhopt
+pkgver=1.1.7
+pkgrel=1
+pkgdesc="Library for parsing command line options"
+arch=('i686' 'x86_64')
+url="http://shh.thathost.com/pub-unix"
+license=('GPL')
+source=($url/files/$pkgname-$pkgver.tar.gz)
+md5sums=('caf24206354296e8a48771aea1f47fbd')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make OPTIM="$CFLAGS" dep
+ make OPTIM="$CFLAGS"
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make OPTIM="$CFLAGS" INSTBASEDIR="$pkgdir"/usr/ install
+}