1 # Maintainer: Sakari Matikka < sm4tik yahoo com >
6 pkgdesc="A pixelart-oriented painting program"
8 url="http://code.google.com/p/grafx2/"
10 depends=('sdl_image' 'sdl_ttf' 'lua')
11 makedepends=('subversion')
15 _svntrunk="http://grafx2.googlecode.com/svn/trunk"
21 msg "Checking out SVN.."
23 if [ -d "${_svnmod}/.svn" ] ; then
24 ( cd "${_svnmod}" && svn up -r "${pkgver}" )
25 msg "Local files are updated"
27 svn co "${_svntrunk}" --config-dir ./ -r "${pkgver}" "${_svnmod}"
30 msg "SVN checkout done or server timeout"
32 [ -d "${_svnmod}-build" ] && rm -rf "${_svnmod}-build"
33 cp -r "${_svnmod}" "${_svnmod}-build"
34 cd "${_svnmod}-build/src"
36 # make with version number displayed in stats screen
44 cd "${srcdir}/${_svnmod}-build/src"
47 pixmapdir=/usr/share/pixmaps \
51 # install manual, license and readme
52 install -Dm644 "../misc/unix/grafx2.1" \
53 "${pkgdir}/usr/share/man/man1/grafx2.1"
54 install -Dm644 "../doc/gpl-2.0.txt" \
55 "${pkgdir}/usr/share/licenses/grafx2/LICENSE"
56 install -Dm644 "../doc/README.txt" \
57 "${pkgdir}/usr/share/doc/grafx2/readme.txt"
61 # vim:set ts=2 sw=2 et: