summaryrefslogtreecommitdiff
path: root/libre/gendesk-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/gendesk-libre/PKGBUILD')
-rw-r--r--libre/gendesk-libre/PKGBUILD31
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..6d7fb3814
--- /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.4.4
+pkgrel=1.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=('2f192713eb588006086ae4e0471e9450')
+
+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"
+}