summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71b469c5196bdbd4db4633bb5cda2e161e5ca641 (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
28
29
# Maintainer: dl3yc <dl3yc at darc dot de>

_pkgname=heather
pkgname=$_pkgname
pkgver=5.0.1
pkgrel=1
pkgdesc="Lady Heather's Disciplined Oscillator Control Program."
arch=(any)
url="http://www.ke5fx.com/heather/readme.htm"
provides=("${_pkgname}=${pkgver}")
makedepends=("gcc" "unzip")
depends=("libx11")
source=("http://www.ke5fx.com/heather/heatherx11.zip")
md5sums=("c2994e5d375b907259a8668d6e39af45")

build() {
  unzip -n "${srcdir}/heatherx11.zip"
  cd ${srcdir}/heatherx11/
  make
}

package() {
  mkdir -p "${pkgdir}/usr/bin/"
  mkdir -p "${pkgdir}/usr/share/heather"
  cp "${srcdir}/heatherx11/heather" "${srcdir}/heatherx11/heather.cfg" \
    "${srcdir}/heatherx11/heather.xpm" "${pkgdir}/usr/share/heather/"
  cp `ls ${srcdir}/heatherx11/*.wav` "${pkgdir}/usr/share/heather/"
  ln -sf "/usr/share/heather/heather" "${pkgdir}/usr/bin/heather"
}