2018-11-20 13:30:55 +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
|
2019-09-17 03:47:58 +00:00
|
|
|
pkgver=1.0.4
|
|
|
|
pkgrel=1
|
2015-08-02 18:10:52 +00:00
|
|
|
pkgdesc='Utility for generating desktop files'
|
2019-09-17 03:47:58 +00:00
|
|
|
arch=(x86_64)
|
2018-11-20 13:30:55 +00:00
|
|
|
url='https://gendesk.roboticoverlords.org/'
|
2019-09-17 03:47:58 +00:00
|
|
|
license=(MIT)
|
|
|
|
makedepends=(gcc-go)
|
|
|
|
depends=(gcc-libs)
|
2013-09-28 05:15:37 +00:00
|
|
|
options=('!strip')
|
2018-11-20 13:30:55 +00:00
|
|
|
source=("https://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
|
|
|
|
'https://roboticoverlords.org/images/default.png')
|
2017-10-21 15:59:57 +00:00
|
|
|
validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
|
2019-09-17 03:47:58 +00:00
|
|
|
sha256sums=('d3f2c1c3508a013bece9ef5cada26326a7dc1c0ff935861a6fe4a006ea7dbccf'
|
2017-10-21 15:59:57 +00:00
|
|
|
'SKIP'
|
2013-09-28 05:15:37 +00:00
|
|
|
'4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
|
|
|
|
|
|
|
|
build() {
|
2018-12-22 02:18:28 +00:00
|
|
|
cd $pkgname-$pkgver
|
2019-09-17 03:47:58 +00:00
|
|
|
go build -mod=vendor -buildmode=pie -gccgoflags="-s -w $LDFLAGS"
|
2013-09-28 05:15:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-12-22 02:18:28 +00:00
|
|
|
cd $pkgname-$pkgver
|
2019-09-17 03:47:58 +00:00
|
|
|
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
|
2013-09-28 05:15:37 +00:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
2017-10-21 15:59:57 +00:00
|
|
|
# vim: ts=2 sw=2 et:
|