diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-07-01 08:51:49 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-07-01 08:51:49 -0500 |
commit | 2690b2e42de85dbcbca602f3299ae4404918e94d (patch) | |
tree | 217eafde83d538071bc0301936ff2a060d1515f7 | |
parent | 89b888d68fd77cf10f64fea2c25fbcc20bb6664e (diff) |
Adding addinclude-libre package
-rw-r--r-- | libre/addinclude-libre/PKGBUILD | 29 |
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" +} |