summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSven Schneider2016-08-21 14:24:26 +0200
committerSven Schneider2016-08-21 14:24:26 +0200
commitea2d3cc6e1a439658e964018db236a1afa4c4b23 (patch)
treee1b89e7daec9df57f9a09e27e0e08b08b4e67c23 /PKGBUILD
downloadaur-ea2d3cc6e1a439658e964018db236a1afa4c4b23.tar.gz
add version 0.1.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..70686c6b86c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
+# Contributor: PyroPeter <com.googlemail@abi1789>
+
+pkgname=c-pluff
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="A plug-in framework for C programs that has been strongly inspired by the Java plug-in framework in Eclipse."
+arch=('i686' 'x86_64')
+url="http://www.c-pluff.org/"
+license=('MIT')
+depends=('expat')
+source=("http://www.c-pluff.org/downloads/cpluff-${pkgver}.tar.gz")
+sha512sums=('5a3f0a1c7f0a92d4aa404a77a48597c7b09d79cf1a5a428e480aa8d2d5b3f3477b1f2297b3938fd6600ebb937c43588eb1ced266df1b186281ab0799a2d764f6')
+
+build() {
+ cd "${srcdir}/cpluff-${pkgver}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/cpluff-${pkgver}"
+
+ make
+ make examples
+ make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" examples-install
+
+ install -dm775 "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m644 COPYRIGHT.txt "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+