diff options
Diffstat (limited to 'community/gendesk/PKGBUILD')
-rw-r--r-- | community/gendesk/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/gendesk/PKGBUILD b/community/gendesk/PKGBUILD new file mode 100644 index 000000000..52fe0bf3f --- /dev/null +++ b/community/gendesk/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 90958 2013-05-16 14:50:52Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> + +pkgname=gendesk +pkgver=0.5.2 +pkgrel=1 +pkgdesc='Utility to generate .desktop files and download icons' +arch=('x86_64' 'i686') +url='http://roboticoverlords.org/gendesk/' +license=('MIT') +makedepends=('go') +depends=('glibc') +source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz" + 'http://roboticoverlords.org/images/default.png') +sha256sums=('33a989aa7603d2cb15711137f653a8985143297a2ab7532dfad1c15aa649fe17' + '4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + go build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -Dm755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "$srcdir/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" +} + +# vim:set ts=2 sw=2 et: |