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
|
2021-12-14 13:31:28 +00:00
|
|
|
pkgver=1.0.9
|
2024-05-02 00:18:40 +00:00
|
|
|
pkgrel=4
|
|
|
|
pkgdesc='Utility for generating desktop files by specifying a minimum of information'
|
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)
|
2019-09-17 04:26:39 +00:00
|
|
|
makedepends=(go)
|
2024-05-02 00:18:40 +00:00
|
|
|
options=(!strip !lto)
|
|
|
|
validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
|
2018-11-20 13:30:55 +00:00
|
|
|
source=("https://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
|
|
|
|
'https://roboticoverlords.org/images/default.png')
|
2021-12-14 13:31:28 +00:00
|
|
|
b2sums=('07ba72b713bd240e9035ced7555e02bd544ba402a4cf1e8417804ea3d53d7c43cbd47da507b15de0446d07e0b9d84a9bf3c3327b6d508e7f6ced279b2cd6b961'
|
|
|
|
'SKIP'
|
|
|
|
'4676b13f6154f511497f5264310f861af2fab798d9fc5d9e39ae2379da3fd24317f777ec437d57a58aef344158cfe77bdce9f32bc17eeeb7126e0954af417b35')
|
2013-09-28 05:15:37 +00:00
|
|
|
|
|
|
|
build() {
|
2018-12-22 02:18:28 +00:00
|
|
|
cd $pkgname-$pkgver
|
2024-05-02 00:18:40 +00:00
|
|
|
go build -v -mod=vendor -trimpath -buildmode=pie -ldflags="-s -w -extldflags '$LDFLAGS'"
|
2013-09-28 05:15:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-12-22 02:18:28 +00:00
|
|
|
cd $pkgname-$pkgver
|
2021-02-21 19:53:22 +00:00
|
|
|
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
|
|
|
|
install -Dm644 $pkgname.1.gz "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
|
2013-09-28 05:15:37 +00:00
|
|
|
install -Dm644 "$srcdir/default.png" "$pkgdir/usr/share/pixmaps/default.png"
|
|
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
}
|