blob: 70b49341194b2aff06a2b5df59246a4e4866cce7 (
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
|
# $Id: PKGBUILD 107828 2014-03-20 05:16:24Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=kcheckers
pkgver=0.8.1
pkgrel=9
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-qt4 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"
}
|