PKGBUILDs/community/gendesk/PKGBUILD

38 lines
1.1 KiB
Bash
Raw Normal View History

2013-09-28 05:15:37 +00:00
# $Id$
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - !strip option, stripped binary fails under ARM
pkgname=gendesk
2014-03-23 15:08:01 +00:00
pkgver=0.6.1
2013-12-06 15:26:07 +00:00
pkgrel=1
2013-09-28 05:15:37 +00:00
pkgdesc='Utility to generate .desktop files and download icons'
arch=('x86_64' 'i686')
url='http://roboticoverlords.org/gendesk/'
license=('MIT')
makedepends=('go')
depends=('glibc')
options=('!strip')
source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"
'http://roboticoverlords.org/images/default.png')
2014-03-23 15:08:01 +00:00
sha256sums=('d4d2bfb23ae1c401f3147ed20206e72015b338067ff40b86271106865774de55'
2013-09-28 05:15:37 +00:00
'4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
build() {
cd "$pkgname-$pkgver"
go build
}
package() {
cd "$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: