Advertisement
jorge_barroso

PKGBUILD Quadra

Jul 16th, 2014
199
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer:  TDY <tdy@archlinux.info>
  2. # Contributor: Christoph Zeiler <rabyte_gmail>
  3.  
  4. pkgname=quadra
  5. pkgver=1.2.0
  6. pkgrel=1
  7. pkgdesc="A single/multiplayer action puzzle game reminiscent of Tetris"
  8. arch=('i686' 'x86_64')
  9. url="http://quadra.googlecode.com/"
  10. license=('LGPL')
  11. depends=('gcc-libs' 'libpng' 'libxpm' 'libxxf86vm')
  12. makedepends=('bc')
  13. source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz
  14.     configure.patch
  15.     desktop.patch)
  16. md5sums=('df179970c4eb75af9ccdc5527d901fa6'
  17.          '3ceb422223db6775060e80c8e77869e5'
  18.          '54841131c0ed173a422aee07fb3fe62f')
  19.  
  20. prepare(){
  21.   cd ${srcdir}/$pkgname-$pkgver
  22.  
  23.   patch -Np0 -i ../../configure.patch
  24.   patch -Np0 -i ../../desktop.patch
  25. }
  26.  
  27. build() {
  28.   cd "$srcdir/$pkgname-$pkgver"
  29.   ./configure --prefix=/usr --disable-version-check
  30.   make
  31. }
  32.  
  33. package() {
  34.   cd "$srcdir/$pkgname-$pkgver"
  35.   make DESTDIR="$pkgdir" install
  36.   install -Dm644 Quadra.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
  37. }
  38.  
  39. # vim:set ts=2 sw=2 et:
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement