pkgname=mypaint-brushes pkgver=2.0.2 pkgrel=2 pkgdesc='Brushes used by MyPaint and other software using libmypaint.' arch=('x86_64') url='https://github.com/mypaint/mypaint-brushes' license=('CC0') depends=('libmypaint') source=("https://github.com/mypaint/mypaint-brushes/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz" "https://github.com/mypaint/mypaint-brushes/commit/1e9109dde3bffd416ed351c3f30ecd6ffd0ca2cd.diff") sha256sums=('7984a74edef94571d872d0629b224abaa956a36f632f5c5516b33d22e49eb566' '03898ced12616d4c4e42fe3aed4eab6386f226c8ff4a99a887c367ca1680eaed') build() { cd ${pkgname}-${pkgver} #patch -p1 -i ${srcdir}/1e9109dde3bffd416ed351c3f30ecd6ffd0ca2cd.diff #./autogen.sh ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }