diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/kcheckers/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/kcheckers/PKGBUILD')
-rw-r--r-- | community/kcheckers/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/kcheckers/PKGBUILD b/community/kcheckers/PKGBUILD new file mode 100644 index 000000000..87f3a5ad8 --- /dev/null +++ b/community/kcheckers/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 85364 2013-03-01 10:34:09Z andrea $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=kcheckers +pkgver=0.8.1 +pkgrel=8 +pkgdesc="Qt4-based checkers boardgame" +arch=('i686' 'x86_64') +url="http://qcheckers.sourceforge.net/" +license=('GPL') +depends=('qt4') +source=(http://downloads.sourceforge.net/qcheckers/${pkgname}-${pkgver}.tar.gz kcheckers.desktop) +md5sums=('793736a007cd92122dfd91bcfd14ab69' + '25b2605f4d605615e265150b722f1897') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|/usr/local|/usr|' common.h + qmake kcheckers.pro + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make INSTALL_ROOT="${pkgdir}/usr" install + install -Dm644 "${srcdir}/kcheckers.desktop" "${pkgdir}/usr/share/applications/kcheckers.desktop" +} |