summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9785d7063706aee62e9d7a48679cb8cd212ed5f8 (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
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Brian Bidulock <bidulock@openss7.org

pkgname=bbdock-git
_pkgname=bbdock
pkgver=07fcb34
pkgrel=2
pkgdesc="An application launcher dockapp supporting PNG files and transparency"
arch=('i686' 'x86_64')
url="https://github.com/markusfisch/$_pkgname"
license=('LGPL3')
depends=('libx11' 'libpng')
makedepends=('libxt' 'git')
provides=($_pkgname)
conflicts=($_pkgname)
source=("git://github.com/markusfisch/$_pkgname.git"
	"$_pkgname.patch")
md5sums=('SKIP'
         '5568359bb94d3bf6c8777b75e255fa3f')

pkgver () {
  cd $_pkgname
  git describe --always | sed 's|-|.|g' 
}

prepare () {
  cd $_pkgname
  patch -Np2 -b -z .orig <../$_pkgname.patch
}

build() {
  cd $_pkgname
  ./configure --prefix=/usr
  make clean
  make
}
  
package() {
  cd $_pkgname
  make DESTDIR="$pkgdir" install
  install -Dm655 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}