summarylogtreecommitdiffstats
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
downloadaur-e9575d5339f5a73d733382ef5ffb5db1070ccd44.tar.gz
Initial commit on phorward toolkit AUR package.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD37
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0ee75191115
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = phorward
+ pkgdesc = C library and tool for regular expressions, lexical analysis, parsing and more.
+ pkgver = 0.18.0
+ pkgrel = 1
+ url = http://www.phorward.info
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ license = BSD
+ optdepends = txt2tags: Documentation generator
+ source = http://www.phorward.info/products/phorward/phorward-0.18.0-source.tar.gz
+ md5sums = b2938fdbf207736bfbfa8100342c5865
+
+pkgname = phorward
+
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
+}
+