updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / qbrew / PKGBUILD
blob617a8add905d2a95c2083ac7931d240ddcb714ca
1 # Contributor: Pierre-Paul Paquin <pierrepaulpaquin@gmail.com>
2 pkgname=qbrew
3 pkgver=0.4.1
4 pkgrel=1
5 pkgdesc="Homebrewer's beer recipe calculator"
6 arch=(i686 x86_64)
7 url="http://www.usermode.org/code.html"
8 license=(BSD)
9 depends=('qt>=4.3')
10 makedepends=()
11 optdepends=()
12 source=(http://www.usermode.org/code/qbrew-$pkgver.tar.gz)
13 md5sums=(bf5009cf5ce5f3ea5069161012966cf7)
15 build() {
16         cd "${srcdir}/$pkgname-$pkgver" || return 1
17         ./configure --prefix="${pkgdir}/usr" --qtdir=/opt || return 1
18         make || return 1
19         make install || return 1
20         install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1