2013-09-28 05:15:37 +00:00
|
|
|
# $Id$
|
2015-08-02 18:10:52 +00:00
|
|
|
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
|
2013-09-28 05:15:37 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - !strip option, stripped binary fails under ARM
|
|
|
|
|
|
|
|
pkgname=gendesk
|
2015-12-11 19:57:40 +00:00
|
|
|
pkgver=0.6.4
|
2015-12-11 12:51:39 +00:00
|
|
|
pkgrel=1
|
2015-08-02 18:10:52 +00:00
|
|
|
pkgdesc='Utility for generating desktop files'
|
2013-09-28 05:15:37 +00:00
|
|
|
arch=('x86_64' 'i686')
|
2015-12-11 19:57:40 +00:00
|
|
|
url='http://gendesk.roboticoverlords.org/'
|
2013-09-28 05:15:37 +00:00
|
|
|
license=('MIT')
|
2014-05-07 18:43:19 +00:00
|
|
|
makedepends=('go' 'git' 'mercurial')
|
2013-09-28 05:15:37 +00:00
|
|
|
depends=('glibc')
|
|
|
|
options=('!strip')
|
|
|
|
source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"
|
|
|
|
'http://roboticoverlords.org/images/default.png')
|
2015-12-11 19:57:40 +00:00
|
|
|
sha256sums=('de7d3ddd6e261dc8b6e8e126b83f91db010157de5470aafd32e90bd7bb89f28d'
|
2013-09-28 05:15:37 +00:00
|
|
|
'4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
|
|
|
|
|
2014-05-07 18:43:19 +00:00
|
|
|
prepare() {
|
2015-12-11 12:51:39 +00:00
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
|
|
|
|
GOPATH=`pwd` go get -d -v
|
2014-05-07 18:43:19 +00:00
|
|
|
}
|
|
|
|
|
2013-09-28 05:15:37 +00:00
|
|
|
build() {
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
|
2015-12-11 12:51:39 +00:00
|
|
|
GOPATH=`pwd` go build
|
2013-09-28 05:15:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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:
|