summaryrefslogtreecommitdiff
path: root/community/sk1sdk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sk1sdk/PKGBUILD')
-rw-r--r--community/sk1sdk/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/sk1sdk/PKGBUILD b/community/sk1sdk/PKGBUILD
new file mode 100644
index 000000000..92dad15bf
--- /dev/null
+++ b/community/sk1sdk/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=sk1sdk
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='A set of python non-GUI extensions for sK1 Project.'
+arch=('i686' 'x86_64')
+url='http://sk1project.org/'
+license=('custom:LGPL2')
+depends=('python2' 'freetype2' 'lcms' 'tk' 'libxcursor')
+source=("${pkgname}-${pkgver}.tar.gz::https://sk1.googlecode.com/files/sk1sdk-${pkgver}pre2_rev1383.tar.gz")
+md5sums=('b6db1a14ed9d39251851a3d78b63bb15')
+
+prepare() {
+ cd ${pkgname}-${pkgver}pre2
+ sed -i 's|python -c|python2 -c|g' src/tkstyle/{fonts,colors}.py
+}
+
+build() {
+ cd ${pkgname}-${pkgver}pre2
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}pre2
+ python2 setup.py install --root ${pkgdir}
+ install -D -m644 GNU_LGPL_v2 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}