[arch-commits] Commit in gendesk/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu May 23 18:24:25 UTC 2019
Date: Thursday, May 23, 2019 @ 18:24:24
Author: arojas
Revision: 469448
archrelease: copy trunk to community-testing-x86_64
Added:
gendesk/repos/community-testing-x86_64/
gendesk/repos/community-testing-x86_64/PKGBUILD
(from rev 469447, gendesk/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: gendesk/repos/community-testing-x86_64/PKGBUILD (from rev 469447, gendesk/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2019-05-23 18:24:24 UTC (rev 469448)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=gendesk
+pkgver=1.0.2
+pkgrel=3
+pkgdesc='Utility for generating desktop files'
+arch=('x86_64')
+url='https://gendesk.roboticoverlords.org/'
+license=('MIT')
+makedepends=('gcc-go' 'git' 'mercurial')
+source=("https://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
+ 'https://roboticoverlords.org/images/default.png')
+validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
+sha256sums=('cb48fda9f501fa7d014bec5e4324a5f751904a473651c4a7f665736061c6c27d'
+ 'SKIP'
+ '4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
+
+prepare() {
+ cd $pkgname-$pkgver
+ GOPATH="$PWD" go get -d -v
+}
+
+build() {
+ cd $pkgname-$pkgver
+ GOPATH="$PWD" go build -buildmode=pie -gccgoflags="-s -w $LDFLAGS"
+}
+
+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: ts=2 sw=2 et:
More information about the arch-commits
mailing list