summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c18005bdec379e608cb5962be9fe48d079ca4bc (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
26
27
# Maintainer: Sterophonick
pkgname=ham-libhel-bin
_pkgname='ham-libhel'
pkgbase=ham-libhel
pkgver=v2.5
pkgrel=2
pkgdesc='Extension library for HAMlib'
url='http://console-dev.de/project/hel-library-for-gba/'
arch=(x86_64 i686)
depends=(ham-v2.71-linux-bin)
source=(http://www.console-dev.de/libhel/libhel-v25.zip)
md5sums=('e30e47063cd39ffabbacb4de99431e72')
options=(!strip)

package() {
  mkdir -p $pkgdir/opt/ham-gba/gcc-arm/lib
  mkdir -p $pkgdir/opt/ham-gba/include
  mkdir -p $pkgdir/opt/ham-gba/tools

  cp lib/* $pkgdir/opt/ham-gba/gcc-arm/lib
  cp src/hel2.h $pkgdir/opt/ham-gba/include
  cp -r tools/win32 $pkgdir/opt/ham-gba/tools
  cp -r docs $pkgdir/opt/ham-gba/docs
  cp -r demos $pkgdir/opt/ham-gba/hel-demos

  chmod -R 777 $pkgdir/opt/ham-gba
}