summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorQue Quotion2018-09-25 01:47:14 +0900
committerQue Quotion2018-09-25 01:47:14 +0900
commit7ad27cb6d7ddb783bce2e9ba98842d4ffe202340 (patch)
treecaca5307e3770fa440ecee202d71973b7e638fb1 /PKGBUILD
downloadaur-file-roller-pantheon.tar.gz
File-roller with elementary OS patches, such as contracts
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f6496fbb0e0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Que Quotion <quequotion@bugmenot.com>
+# Contributor: Adria Arrufat <adria DOT arrufat+aur AT protonmail DOT ch>
+
+pkgname=file-roller-pantheon
+pkgver=3.28.0+1ubuntu1+r4.4ab5e02aa
+pkgrel=1
+pkgdesc="Archive manipulator for GNOME (with elementary OS patches)"
+url="https://gitlab.gnome.org/GNOME/file-roller/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=(gtk3 dconf libarchive file json-glib libnotify 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')
+groups=(pantheon)
+provides=(file-roller="${pkgver}")
+conflicts=(file-roller)
+source=("git+https://github.com/elementary/os-patches.git#branch=file-roller-bionic-patched")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "os-patches"
+
+ printf "3.28.0+1ubuntu1+r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "os-patches"
+ [ -d build ] && rm -rf build
+ arch-meson build
+ ninja -C build
+}
+
+package() {
+ cd "os-patches"
+ DESTDIR="${pkgdir}" ninja -C build install
+}