updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / shelk-test / PKGBUILD
blobdf0bbd60dbe341c420c53d1fff8c7c04659b1d84
1 pkgname=shelk-test
2 _pkgname=xwts
3 pkgver=0.3.1
4 pkgrel=1
5 pkgdesc="Shelk-test is a program is designed for creating and editing tests, followed by tests of knowledge."
6 arch=('i686' 'x86_64')
7 url="http://qt-apps.org/content/show.php/Shelk-test?content=144619"
8 license=('GPL2')
9 depends=('qt')
10 source=("http://citylan.dl.sourceforge.net/project/${pkgname}/${pkgver}/${_pkgname}-${pkgver}-lin-src.tar.gz")
11 md5sums=('07618010e6afab2f51373d19cf6e381e')
13 build() {
14   cd "${srcdir}/${_pkgname}-${pkgver}-lin-src"
15   # temporary fix
16   if [ -f Makefile ]; then
17     rm Makefile
18   fi
19   ./configure
20   make
23 package() {
24   cd "${srcdir}/${_pkgname}-${pkgver}-lin-src"
25   # make INSTALL_ROOT=${pkgdir} install
26   install -Dm 755 usr/bin/${_pkgname}-${pkgver} ${pkgdir}/usr/bin/${_pkgname}-${pkgver}
27   install -Dm 755 usr/bin/${_pkgname}help ${pkgdir}/usr/bin/${_pkgname}help
28   install -Dm 644 usr/share/applications/${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
29   install -Dm 644 usr/share/doc/${_pkgname}/${_pkgname}.html ${pkgdir}/usr/share/doc/${_pkgname}/${_pkgname}.html
30   install -d ${pkgdir}/usr/share/doc/${_pkgname}/image
31   install -Dm 644 usr/share/doc/${_pkgname}/image/* ${pkgdir}/usr/share/doc/${_pkgname}/image/
32   install -d ${pkgdir}/usr/share/${_pkgname}
33   install -Dm 644 usr/share/${_pkgname}/*.* ${pkgdir}/usr/share/${_pkgname}/
34   install -d ${pkgdir}/usr/share/${_pkgname}/languages/russian
35   install -Dm 644 usr/share/${_pkgname}/languages/russian/* ${pkgdir}/usr/share/${_pkgname}/languages/russian/
36