summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJan Max Meyer2017-02-01 12:47:27 +0100
committerJan Max Meyer2017-02-01 12:47:27 +0100
commite9575d5339f5a73d733382ef5ffb5db1070ccd44 (patch)
tree82b5db1c4bf394580916863db2dc74b0549c2a20 /PKGBUILD
downloadaur-e9575d5339f5a73d733382ef5ffb5db1070ccd44.tar.gz
Initial commit on phorward toolkit AUR package.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a3fa9a3c23a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Jan Max Meyer <codepilot@phorward.info>
+pkgname=phorward
+pkgver=0.18.0
+pkgrel=1
+epoch=
+pkgdesc="C library and tools for regular expressions, lexical analysis, parsing and more."
+arch=('i686' 'x86_64' 'armv6h')
+url="http://www.phorward.info"
+license=('BSD')
+makedepends=()
+checkdepends=()
+optdepends=('txt2tags: Documentation generator')
+#changelog=CHANGELOG
+source=("http://www.phorward.info/products/phorward/$pkgname-$pkgver-source.tar.gz")
+md5sums=('b2938fdbf207736bfbfa8100342c5865')
+
+prepare() {
+ cd "$pkgname-$pkgver-source"
+ echo "<html>Documentation coming soon.</html>" >doc/phorward.html
+}
+
+build() {
+ cd "$pkgname-$pkgver-source"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver-source"
+ make -k check
+}
+
+package() {
+ cd "$pkgname-$pkgver-source"
+ make DESTDIR="$pkgdir/" install
+}
+