mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:07:14 +08:00
28 lines
734 B
Bash
28 lines
734 B
Bash
# $Id$
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Contributor: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
pkgname=python2-gd
|
|
arch=('i686' 'x86_64')
|
|
pkgver=0.58
|
|
pkgrel=1
|
|
pkgdesc="Python bindings for the gd library"
|
|
license=("BSD")
|
|
url="https://github.com/Solomoriah/gdmodule/"
|
|
depends=('python2' 'gd')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/Solomoriah/gdmodule/archive/v$pkgver.tar.gz")
|
|
md5sums=('330edf336f38ede060908ce8bc6a6ce0')
|
|
|
|
build() {
|
|
cd gdmodule-$pkgver
|
|
python2 Setup.py build
|
|
}
|
|
|
|
package_python2-gd() {
|
|
cd gdmodule-$pkgver
|
|
python2 Setup.py install --root="$pkgdir" --optimize=1
|
|
|
|
install -d "$pkgdir"/usr/share/licenses/python2-gd
|
|
install -m644 LICENSE "$pkgdir"/usr/share/licenses/python2-gd
|
|
}
|