This commit is contained in:
Ryan Hughes committed 2026-05-08 01:04:51 -04:00
1 parent 6f55908884
commit 1858254259
4 files changed
+2

No files matched your search

-27
View File
@@ -1,27 +0,0 @@
pkgbase = pinta
pkgdesc = Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users
pkgver = 3.1.2
pkgrel = 1
url = https://pinta-project.com
arch = x86_64
license = MIT
makedepends = pkgconf
makedepends = autoconf-archive
makedepends = intltool
makedepends = dotnet-sdk
makedepends = dotnet-runtime
makedepends = dotnet-host
makedepends = dotnet-targeting-pack
makedepends = gtk4
makedepends = perl
depends = dotnet-runtime
depends = dotnet-host
depends = libadwaita
depends = hicolor-icon-theme
depends = webp-pixbuf-loader
provides = pinta
conflicts = pinta-git
source = Pinta-3.1.2.tar.gz::https://github.com/PintaProject/Pinta/archive/refs/tags/3.1.2.tar.gz
sha256sums = 98ed517b33f0e40fd1e3915ea5146355845ac12efd3bb07812c68a52c714cac6
pkgname = pinta
-5
View File
@@ -1,5 +0,0 @@
*
!.gitignore
!.nvchecker.toml
!PKGBUILD
!.SRCINFO
-4
View File
@@ -1,4 +0,0 @@
["pinta"]
source = "github"
github = "PintaProject/Pinta"
use_latest_release = true
-52
View File
@@ -1,52 +0,0 @@
# Maintainer: Rafael Baboni Dominiquini <rafaeldominiquini at gmail dot com>
pkgname=pinta
pkgver=3.1.2
pkgrel=1
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')
license=('MIT')
url="https://pinta-project.com"
makedepends=('pkgconf' 'autoconf-archive' 'intltool' 'dotnet-sdk' 'dotnet-runtime' 'dotnet-host' 'dotnet-targeting-pack' 'gtk4' 'perl')
depends=('dotnet-runtime' 'dotnet-host' 'libadwaita' 'hicolor-icon-theme' 'webp-pixbuf-loader')
provides=($pkgname)
conflicts=($pkgname-git)
source=("Pinta-${pkgver}.tar.gz::https://github.com/PintaProject/Pinta/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('98ed517b33f0e40fd1e3915ea5146355845ac12efd3bb07812c68a52c714cac6')
prepare() {
cd "${srcdir}/Pinta-${pkgver}"
for file in *.md *.txt; do
basename=$(tr '[:lower:]' '[:upper:]' <<< "${file%.*}")
newname="$basename.${file#*.}"
[ ! "$file" == "$newname" ] && mv "$file" "$newname"
done
sed -i 's/net8.0/net10.0/g' Directory.Build.props
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
}
build() {
cd "${srcdir}/Pinta-${pkgver}"
sed -i -r 's|^(PINTA_BUILD_OPTS\s=\s.*)|\1 -p:RuntimeIdentifier=linux-x64|g' Makefile
make
}
package() {
cd "${srcdir}/Pinta-${pkgver}"
make DESTDIR="${pkgdir}" install
chmod -v 755 "${pkgdir}/usr/lib/pinta/"*.dll
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}/" *.md
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE*.txt
}