[arch-commits] Commit in addinclude/repos (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu May 3 10:32:29 UTC 2018
Date: Thursday, May 3, 2018 @ 10:32:27
Author: bpiotrowski
Revision: 318822
archrelease: copy trunk to community-staging-x86_64
Added:
addinclude/repos/community-staging-x86_64/
addinclude/repos/community-staging-x86_64/PKGBUILD
(from rev 318821, addinclude/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: addinclude/repos/community-staging-x86_64/PKGBUILD (from rev 318821, addinclude/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-05-03 10:32:27 UTC (rev 318822)
@@ -0,0 +1,30 @@
+# $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:
More information about the arch-commits
mailing list