diff options
Diffstat (limited to 'libre/gendesk-libre')
-rw-r--r-- | libre/gendesk-libre/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libre/gendesk-libre/PKGBUILD b/libre/gendesk-libre/PKGBUILD new file mode 100644 index 000000000..b2f5c7cea --- /dev/null +++ b/libre/gendesk-libre/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +_pkgname=gendesk +pkgname=gendesk-libre +pkgver=0.5.2 +pkgrel=1 +pkgdesc='Utility to generate .desktop files and download icons' +arch=('x86_64' 'i686' 'mips64el') +url='https://gitorious.org/ovruni/gendesk/' +license=('MIT') +makedepends=('curl' 'openssl') +provides=("$_pkgname=$pkgver") +replaces=("$_pkgname") +conflicts=("$_pkgname") +source=("http://gnu.org.pe/software/$_pkgname/$_pkgname-$pkgver.tar.xz") +md5sums=('416e81aaa4d8963e229b6341a5c4db1a') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname" + install -Dm644 default.png "$pkgdir/usr/share/pixmaps/default.png" + install -Dm644 "$_pkgname.1.gz" "$pkgdir/usr/share/man/man1/$_pkgname.1.gz" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" +} |