[arch-commits] Commit in gendesk/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Tue Nov 20 11:23:02 UTC 2018


    Date: Tuesday, November 20, 2018 @ 11:23:01
  Author: arodseth
Revision: 409009

archrelease: copy trunk to community-x86_64

Added:
  gendesk/repos/community-x86_64/PKGBUILD
    (from rev 409008, gendesk/trunk/PKGBUILD)
Deleted:
  gendesk/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-20 11:22:53 UTC (rev 409008)
+++ PKGBUILD	2018-11-20 11:23:01 UTC (rev 409009)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-
-pkgname=gendesk
-pkgver=0.7
-pkgrel=2
-pkgdesc='Utility for generating desktop files'
-arch=('x86_64')
-url='http://gendesk.roboticoverlords.org/'
-license=('MIT')
-makedepends=('gcc-go' 'git' 'mercurial')
-source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
-        'http://roboticoverlords.org/images/default.png')
-validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
-sha256sums=('3100f40a32e2588188b8af0822110f9ba4689f2a0dae7347a3b917d0d12e24a1'
-            'SKIP'
-            '4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  GOPATH=`pwd` go get -d -v
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  GOPATH=`pwd` 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: ts=2 sw=2 et:

Copied: gendesk/repos/community-x86_64/PKGBUILD (from rev 409008, gendesk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-20 11:23:01 UTC (rev 409009)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=gendesk
+pkgver=1.0.1
+pkgrel=1
+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=('0d10ae331213ff93ea5290d73eed444f8bd795aae3e2302e9c5eaf5dfadbac6c'
+            'SKIP'
+            '4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  GOPATH=`pwd` go get -d -v
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  GOPATH=`pwd` go build -buildmode=pie -ldflags="-s -w"
+}
+
+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