archrelease: copy trunk to community-any
[ArchLinux/community.git] / pinta / trunk / PKGBUILD
blob53ffe11eae2345d28efce54a2eadbe2ce9eff850
1 # Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
2 # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
3 # Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
4 # Contributor: Balló György <ballogyor+arch at gmail dot com>
5 # Contributor: Konrad <konrad AT knauber DOT name>
6 # Contributor: Javier Steinaker <jsteinaker@gmail.com>
8 pkgname='pinta'
9 pkgver=2.1.1
10 pkgrel=1
11 pkgdesc="Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users"
12 arch=('any')
13 url="https://pinta-project.com/"
14 license=('MIT')
15 depends=('gtk3>=3.24.21' 'dotnet-runtime-7.0' 'webp-pixbuf-loader')
16 makedepends=('intltool' 'dotnet-sdk-7.0')
17 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PintaProject/Pinta/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
18         "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/PintaProject/Pinta/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.asc")
19 sha512sums=('1ec3437aa75c9b4de71a118222b93a37af8fe3b660b9e705004866af15f864b9f3f623a4c8840b6dfe481c615d47d1a8131c7c881d50fd06ca7c4ff1440f3fd6'
20             'SKIP')
21 validpgpkeys=('5BDA30D0C2E985E598089E444CF80E80E77C5C35') # Cameron White
23 prepare() {
24   cd "${pkgname}-${pkgver}"
25   sed -i '/^PINTA_BUILD_OPTS/ s/$/ -maxcpucount:1/' Makefile.in
28 build() {
29   cd "${pkgname}-${pkgver}"
30   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
31   make
34 package() {
35   cd "${pkgname}-${pkgver}"
36   make DESTDIR="${pkgdir}" install
38   install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" license-*.txt readme.md