blob: 7b89f94dc96eb0b6899224544e3d427df3a6913f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
pkgname=a+
pkgver=4.22
pkgrel=2
pkgdesc='A+ compiler'
arch=('x86_64')
url='http://www.aplusdev.org/'
license=('GPL')
source=("http://http.us.debian.org/debian/pool/main/a/aplus-fsf/aplus-fsf_$pkgver.1-8_amd64.deb")
sha256sums=('279f65f4528ccd5dee41e11f28e6f3b3349e5f333422475fb731f8116f14fe78')
prepare() {
ar xv aplus-fsf_$pkgver.*.deb && bsdtar jxf data.tar.xz
}
package() {
install -Dm755 usr/bin/a+ "$pkgdir/usr/bin/a+"
install -d "$pkgdir/usr/lib"
cp -r usr/lib/aplus-fsf "$pkgdir/usr/lib"
install -Dm644 "usr/share/man/man1/$pkgname.1.gz" \
"$pkgdir/usr/share/man/man1/$pkgname.1.gz"
}
# vim:set ts=2 sw=2 et:
|