summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f0a1da4c58b65ae93356f8ebd7fbd0a2e6d0544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Ralph Plawetzki <ralph@purejava.org>

pkgname=seahorse-nautilus-ext
pkgver=3.11.92+57+g390364d
pkgrel=1
pkgdesc="PGP encryption and signing for nautilus with configurable extension for encrypted files"
arch=(x86_64)
url="https://gitlab.gnome.org/purejava/seahorse-nautilus/tree/encrypt-ext-conf"
license=(GPL)
depends=(libcryptui nautilus libgnome-keyring)
makedepends=(meson git)
provides=(seahorse-nautilus)
conflicts=(seahorse-nautilus)
_commit=390364db3bb09d7f6e07e3de90c872112584442a  # master
source=($pkgname::"git+https://gitlab.gnome.org/GNOME/seahorse-nautilus.git#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $pkgname
	git apply ../../0001-Make-file-extension-for-encrypted-files-configurable.patch
}

build() {
  arch-meson $pkgname build
  ninja -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}