mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
34 lines
850 B
Bash
34 lines
850 B
Bash
|
# $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:
|