Created
May 9, 2013 14:24
-
-
Save anonymous/5547758 to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Rudolf Polzer <divVerent@xonotic.org> | |
pkgname=kxstitch-kde4 | |
pkgver=0.9.2 | |
pkgrel=1 | |
pkgdesc="The program that lets you create cross stitch patterns and charts." | |
arch=('i686' 'x86_64') | |
depends=('kdebase-runtime' 'imagemagick') | |
makedepends=('cmake' 'automoc4' 'doxygen' 'patch') | |
url="http://kxstitch.sourceforge.net/" | |
license=('GPL') | |
source=(http://downloads.sourceforge.net/project/kxstitch/kxstitch/${pkgver}/kxstitch-${pkgver}-KDE4.tar.gz) | |
md5sums=('04e25211687835cf61e3ba7e56af54ef') | |
install=kxstitch-kde4.install | |
conflicts=('kxstitch') | |
build() { | |
cd "$srcdir/kxstitch-${pkgver}-KDE4" | |
rm -rf build | |
mkdir build | |
cd build | |
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. | |
make | |
} | |
package() { | |
cd "$srcdir/kxstitch-${pkgver}-KDE4/build" | |
make DESTDIR="${pkgdir}" install | |
# this one is unnecessary and namcap hates this dangling link | |
rm "${pkgdir}/usr/share/doc/kde/html/en/kxstitch/common" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment