[arch-commits] Commit in addinclude/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Jan 27 09:34:31 UTC 2019
Date: Sunday, January 27, 2019 @ 09:34:28
Author: arodseth
Revision: 428202
archrelease: copy trunk to community-x86_64
Added:
addinclude/repos/community-x86_64/PKGBUILD
(from rev 428201, addinclude/trunk/PKGBUILD)
Deleted:
addinclude/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++------------------------------
1 file changed, 29 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-27 09:34:15 UTC (rev 428201)
+++ PKGBUILD 2019-01-27 09:34:28 UTC (rev 428202)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-
-pkgname=addinclude
-pkgver=1.0
-pkgrel=2
-pkgdesc='Utility to add includes to header- and sourcefiles, for C and C++'
-arch=('x86_64')
-url='http://addinclude.roboticoverlords.org/'
-license=('GPL2')
-makedepends=('gcc-go')
-source=("http://addinclude.roboticoverlords.org/$pkgname-$pkgver.tar.xz"{,.asc})
-validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
-sha256sums=('23786f497bc5097a26d39ef995c28035506e5bb39172c7d6a03c386e3d79471c'
- 'SKIP')
-
-build() {
- cd "$pkgname-$pkgver"
-
- go build -o "$pkgname"
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
- install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
-}
-
-# vim: ts=2 sw=2 et:
Copied: addinclude/repos/community-x86_64/PKGBUILD (from rev 428201, addinclude/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-27 09:34:28 UTC (rev 428202)
@@ -0,0 +1,29 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=addinclude
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Utility to add include statements to header- and sourcefiles, for C and C++'
+arch=(x86_64)
+url='https://addinclude.roboticoverlords.org/'
+license=(GPL2)
+makedepends=(gcc-go)
+source=("https://addinclude.roboticoverlords.org/$pkgname-$pkgver.tar.xz"{,.asc})
+validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
+sha256sums=('af3f5a7d3472b6a871150d82b9905e6a6571ad8d80820e382e20179c7aac2e67'
+ 'SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ go build -gccgoflags "-Wl,-z,relro,-z,now" -o $pkgname
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list