[arch-commits] Commit in (sk1sdk sk1sdk/repos sk1sdk/trunk sk1sdk/trunk/PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Thu Oct 24 10:26:22 UTC 2013
Date: Thursday, October 24, 2013 @ 12:26:22
Author: spupykin
Revision: 99088
Added:
sk1sdk/
sk1sdk/repos/
sk1sdk/trunk/
sk1sdk/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: sk1sdk/trunk/PKGBUILD
===================================================================
--- sk1sdk/trunk/PKGBUILD (rev 0)
+++ sk1sdk/trunk/PKGBUILD 2013-10-24 10:26:22 UTC (rev 99088)
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
+# Maintainer: Sergej Pupykin <pupykin.s+arch at 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
+}
More information about the arch-commits
mailing list