28 lines
946 B
Bash
28 lines
946 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=mypaint
|
|
pkgver=2.0.1
|
|
pkgrel=3
|
|
pkgdesc='Fast and easy painting application for digital painters, with brush dynamics'
|
|
arch=(i686 x86_64)
|
|
url="http://$pkgname.org/"
|
|
license=(GPL-2)
|
|
# use runtime dependencies like: desktop-file-utils and gtk-update-icon-cache
|
|
depends=(desktop-file-utils gtk-update-icon-cache mypaint-brushes python-numpy python-pycairo python-pygobject)
|
|
makedepends=(python-setuptools swig)
|
|
source=(https://github.com/mypaint/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz)
|
|
sha512sums=('449beddcc6da5d720c9efbeac94a466ed0057bd1962d42ebb419190e8b7fd8ffd341327408467fc5da47920f9d0da1fd6d78233a0dda88de5f5d52d53d9ab562')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
python setup.py install --root=$pkgdir --optimize=1 --skip-build
|
|
install -Dm644 COPYING -t $pkgdir/usr/share/licenses/$pkgname
|
|
}
|
|
|
|
# vim:set sw=2 et:
|