mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added community/addinclude
This commit is contained in:
parent
8f264df317
commit
f551b44e44
1 changed files with 33 additions and 0 deletions
33
community/addinclude/PKGBUILD
Normal file
33
community/addinclude/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# $Id$
|
||||
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - build with go instead of gcc-go
|
||||
|
||||
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=('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:
|
Loading…
Reference in a new issue