Advertisement
lazork

PKGBUILD

Jan 29th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.93 KB | None | 0 0
  1. # Maintainer: Tyler Hall <tylerwhall at gmail dot com>
  2. pkgname=brewtarget
  3. pkgver=2.0.0
  4. pkgrel=1
  5. pkgdesc="Beer calculator compatible with BeerSmith. Generates instructions from the recipe and interactive mash designer."
  6. url="http://brewtarget.sourceforge.net/"
  7. arch=('x86_64' 'i686')
  8. license=('GPL3'
  9.          'WTFPL-2'
  10.          'CCPL'
  11.          'LGPL2.1')
  12. depends=('qt' 'qtwebkit' 'phonon')
  13. optdepends=()
  14. makedepends=('cmake')
  15. conflicts=()
  16. replaces=()
  17. backup=()
  18. source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}_${pkgver}.orig.tar.gz")
  19. md5sums=('79da65293ab2626b5e984457a79f3c6c')
  20.  
  21. build() {
  22.   cd "${srcdir}/${pkgname}-${pkgver}"
  23.   cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
  24.   make
  25. }
  26.  
  27. package() {
  28.   cd "${srcdir}/${pkgname}-${pkgver}"
  29.   make DESTDIR="${pkgdir}" install
  30.   install -Dm644 COPYING.GPLv3 "$pkgdir/usr/share/licenses/$pkgname/COPYING.GPLv3"
  31. }
  32.  
  33. # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement