diff options
author | Michał Lisowski | 2020-10-05 10:24:41 +0200 |
---|---|---|
committer | Michał Lisowski | 2020-10-05 10:24:41 +0200 |
commit | 44f08816c7ba82c80dc35782a6f6bd012adc39c7 (patch) | |
tree | 791a66b5d9b1cbd51e44bfb68e356fde4960939d /PKGBUILD | |
parent | 39d8351b5c5723bb49d472ceebc12dc9b76cb070 (diff) | |
download | aur-44f08816c7ba82c80dc35782a6f6bd012adc39c7.tar.gz |
Update to 0.5.4, switch to meson build system
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 19 insertions, 11 deletions
@@ -2,28 +2,36 @@ # Contributor: Thomas Hebb <tommyhebb@gmail.com> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=revelation -pkgver=0.5.3 +pkgver=0.5.4 pkgrel=1 pkgdesc="A password manager for the GNOME desktop" arch=('x86_64') license=('GPL') -depends=('gtk3' 'python-gobject' 'libpwquality' 'python-pycryptodomex') +makedepends=('meson') +depends=('gobject-introspection' 'gtk3' 'libpwquality' 'python-gobject' 'python-pycryptodomex') url="http://revelation.olasagasti.info/" -source=("https://github.com/mikelolasagasti/revelation/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz") -sha256sums=('8976644b8904db179f5927ea9045c5082faefdfecf079845ca081321935bdfac') +source=("https://github.com/mikelolasagasti/revelation/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz" + 'mime-icon-path.patch') +sha256sums=('880a90c3c1d317fbf617809f2bb24a8752cce241248fb681812e2757c9e17fe2' + '330295c0d806aaffc2e51d3fdfed663af2f8c587cc0c5afa797bb5384dda0e74') + +prepare() { + cd "${pkgname}-${pkgver}" + + patch -p1 -i "${srcdir}/mime-icon-path.patch" +} build() { cd "${pkgname}-${pkgver}" - ./autogen.sh - ./configure \ - --prefix=/usr \ - --disable-desktop-update \ - --disable-mime-update - make + + meson _build + meson configure --prefix=/usr _build } package() { cd "${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + + cd _build + DESTDIR="${pkgdir}" meson install } |