blob: 28a12ebba5d6ee107ad51646f50a1c39d41c7c5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: SanskritFritz (gmail)
pkgname=fontypython
pkgver=0.5
pkgrel=4
pkgdesc="Manage, view and find your fonts."
arch=('any')
url="https://savannah.nongnu.org/projects/fontypython"
license=('GPL3')
depends=('python2-wxpython3' 'python2-pillow')
source=("http://download.savannah.nongnu.org/releases/fontypython/fontypython-$pkgver.tar.gz")
sha256sums=('46f5304f9ec790b0b870f66a37b5fd47103a9300d0e0ed98e8799bd59bb4ec1b')
prepare() {
sed -i 's|c1 = \[ "python", os.path.join(fontyroot,|c1 = [ "python2", os.path.join(fontyroot,|g' "fontypython-$pkgver/fontypythonmodules/segwrapfonty.py"
}
build() {
cd ${srcdir}/${pkgname}-${pkgver}
python2 setup.py build
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
python2 setup.py install --root="${pkgdir}" --prefix=/usr
}
|