summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e59ee4e99e762ae844ef997e1dde50f736e5ded3 (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
28
29
30
#AUR Maintainter: JKA Network <contacto@jkanetwork.com>
pkgname=pinta-git
pkgver=r1776.73a046e
pkgrel=2
pkgdesc="Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users"
arch=('x86_64' 'i686')
url="https://pinta-project.com"
license=('MIT')
depends=('mono' 'gtk-sharp-2' 'mono-addins' 'yelp-tools' 'intltool')
makedepends=('git')
provides=('pinta')
conflicts=('pinta')
options=('!makeflags')
source=(git+https://github.com/PintaProject/Pinta.git)
md5sums=('SKIP')
pkgver() {
	cd "Pinta"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
	cd "Pinta"
	./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
	make
}
package() {
	cd "Pinta"
	make DESTDIR="$pkgdir/" install
	install -dm755 "$pkgdir"/usr/share/licenses/$pkgname
	install -m644 license-*.txt readme.md "$pkgdir"/usr/share/licenses/$pkgname/
}