summaryrefslogtreecommitdiffstats
path: root/file-roller-gtk3/PKGBUILD
diff options
context:
space:
mode:
authorkj_sh6042024-06-30 19:32:22 -0400
committerkj_sh6042024-06-30 19:32:22 -0400
commit4b8deddf9c0343943bbc0cbf25cdec0dbc8c445e (patch)
treee05b687147897493139d76f4d0f7a4047f9a5359 /file-roller-gtk3/PKGBUILD
parentea0df423ba942b1573b75b5937cff63acced7e6d (diff)
feat: file-roller-gtk3
Diffstat (limited to 'file-roller-gtk3/PKGBUILD')
-rw-r--r--file-roller-gtk3/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/file-roller-gtk3/PKGBUILD b/file-roller-gtk3/PKGBUILD
new file mode 100644
index 0000000..f63e4d9
--- /dev/null
+++ b/file-roller-gtk3/PKGBUILD
@@ -0,0 +1,46 @@
+pkgname=file-roller-gtk3
+_pkgname=file-roller
+pkgver=43.0
+pkgrel=1
+pkgdesc="Create and modify archives (last stable GTK3 release)"
+url="https://wiki.gnome.org/Apps/FileRoller"
+arch=(x86_64)
+license=(GPL)
+conflicts=('file-roller')
+provides=('file-roller')
+depends=(libhandy dconf libarchive file json-glib libportal-gtk3 zip unzip)
+makedepends=(yelp-tools git libnautilus-extension meson appstream-glib)
+optdepends=('p7zip: 7z, arj, exe and encrypted zip files support'
+ 'unrar: better RAR archive support'
+ 'unace: ACE archive support'
+ 'lrzip: lrzip archive support'
+ 'squashfs-tools: squashfs image support')
+groups=(gnome)
+options=(debug)
+_commit=6d57d9962efb976aa3036db965f558b96575289c # tags/43.0^0
+source=("git+https://gitlab.gnome.org/GNOME/file-roller.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $_pkgname
+}
+
+build() {
+ arch-meson $_pkgname build
+ meson compile -C build
+}
+
+# check() {
+# meson test -C build --print-errorlogs
+# }
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: