Skip to content

Instantly share code, notes, and snippets.

Created May 9, 2013 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5547758 to your computer and use it in GitHub Desktop.
Save anonymous/5547758 to your computer and use it in GitHub Desktop.
stdin
# 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