summaryrefslogtreecommitdiff
path: root/libre/gendesk-libre
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-04-14 12:44:44 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-04-14 12:44:44 -0500
commit140b10515f5334be33e40a01da54c3c820ae42c8 (patch)
tree990b6934ee89d481a934884cf73dd10d2934f717 /libre/gendesk-libre
parentb7f66a52ecf7bd12688286f7ae41a9d3ad22caa4 (diff)
Adding gendesk-libre package
Diffstat (limited to 'libre/gendesk-libre')
-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..3e40745af
--- /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
+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"
+}