summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4810c82d94ecf172eebea05db34398765e3dd305 (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: Cameron Spry <spryct@rose-hulman.edu>
pkgname=wmbutton
pkgver=0.7.0
pkgrel=1
pkgdesc="A dockapp displaying configurable buttons"
url="http://www.windowmaker.org"
arch=('x86_64' 'i686')
license=('GPL2')
depends=('libxpm')
makedepends=('libx11' 'ctags')
source=("http://www.idchk.org/pool/main/w/wmbutton/wmbutton_${pkgver}.orig.tar.gz")
md5sums=('21421b159340e022a623560a0fb0266f')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  mkdir -p "${pkgdir}/usr/bin"
  mkdir -p "${pkgdir}/etc"
  mkdir -p "${pkgdir}/usr/share/man/man1"
  mv sample.wmbutton "${pkgdir}/etc/wmbutton.conf"
  mv wmbutton.1 "${pkgdir}/usr/share/man/man1"
  mv wmbutton "${pkgdir}/usr/bin/"
}