diff options
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9f7c83d218da --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +pkgbase = file-roller-git + pkgdesc = Create and modify archives + pkgver = 3.31.1.r18.g74305535 + pkgrel = 1 + url = https://wiki.gnome.org/Apps/FileRoller + arch = x86_64 + groups = gnome + license = GPL + makedepends = yelp-tools + makedepends = git + makedepends = libnautilus-extension + makedepends = meson + makedepends = appstream-glib + depends = gtk3 + depends = dconf + depends = libarchive + depends = file + depends = json-glib + depends = libnotify + depends = zip + depends = unzip + optdepends = p7zip: 7z, arj, exe and encrypted zip files support + optdepends = unrar: better RAR archive support + optdepends = unace: ACE archive support + optdepends = lrzip: lrzip archive support + provides = file-roller + conflicts = file-roller + source = git+https://gitlab.gnome.org/GNOME/file-roller.git + sha256sums = SKIP + +pkgname = file-roller-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3c3c8355fdec --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Philip Goto <philip.goto@gmail.com> +# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=file-roller-git +pkgver=3.31.1.r18.g74305535 +pkgrel=1 +pkgdesc="Create and modify archives" +url="https://wiki.gnome.org/Apps/FileRoller" +arch=(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') +conflicts=(file-roller) +provides=(file-roller) +groups=(gnome) +source=("git+https://gitlab.gnome.org/GNOME/file-roller.git") +sha256sums=('SKIP') + +pkgver() { + cd file-roller + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + arch-meson file-roller build + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}
\ No newline at end of file |