summaryrefslogtreecommitdiff
path: root/libre/addinclude-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/addinclude-libre')
-rw-r--r--libre/addinclude-libre/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/libre/addinclude-libre/PKGBUILD b/libre/addinclude-libre/PKGBUILD
new file mode 100644
index 000000000..7a5121eb3
--- /dev/null
+++ b/libre/addinclude-libre/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+_pkgname=addinclude
+pkgname=addinclude-libre
+pkgver=0.9
+pkgrel=1
+pkgdesc='Utility to add includes to C header- and sourcefiles'
+arch=('x86_64' 'i686' 'mips64el')
+url='https://gitorious.org/ovruni/addinclude/'
+license=('GPL')
+provides=("$_pkgname=$pkgver")
+replaces=("$_pkgname")
+conflicts=("$_pkgname")
+source=("http://gnu.org.pe/software/$_pkgname/$_pkgname-$pkgver.tar.xz")
+md5sums=('e8c254e5c8f41a69f87787a08c65d1a5')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
+ install -Dm644 "$_pkgname.1.gz" "$pkgdir/usr/share/man/man1/$_pkgname.1.gz"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING"
+}