diff options
author | FabioLolix | 2018-09-23 22:59:29 +0200 |
---|---|---|
committer | FabioLolix | 2018-09-23 22:59:29 +0200 |
commit | 6f8c201b51268170aa77ed4647a82b558aae0f19 (patch) | |
tree | 07e04801bef65c161f3e875adb1baf6498fba4f3 /PKGBUILD | |
parent | acf3801371d7ff38edf2be8d687764b6817c4297 (diff) | |
download | aur-6f8c201b51268170aa77ed4647a82b558aae0f19.tar.gz |
v0.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 14 insertions, 16 deletions
@@ -1,31 +1,29 @@ # Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix pkgname=hashit -pkgver=0.1.11 -pkgrel=2 +pkgver=0.2.0 +pkgrel=1 pkgdesc="Checksum tool for Pantheon, developed by Artem Anufrij" -arch=('x86_64') -url='https://artemanufrij.github.io/' -license=('GPL3') -depends=('libgranite.so' 'gtk3') -makedepends=('vala' 'cmake' 'cmake-modules-elementary-git') +arch=(x86_64) +url="https://artemanufrij.github.io/" +license=(GPL3) +depends=(libgranite.so gtk3) +makedepends=(vala meson ninja) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/artemanufrij/hashit/archive/${pkgver}.tar.gz") -sha256sums=('f4d550f1e14a283a9078a9358fbd9175a38a5521a567dbe5535f5198adfe2cc4') +sha256sums=('a7e0459e47936f0fbd5042b161517f6b9b2a65e36945cf260367126b02b7cee7') prepare() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" install -d build } build() { - cd ${srcdir}/${pkgname}-${pkgver}/build - cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr - make + cd "${srcdir}/${pkgname}-${pkgver}" + meson build --prefix=/usr + ninja -C build } package() { - cd ${srcdir}/${pkgname}-${pkgver}/build - make DESTDIR="${pkgdir}" install + cd "${srcdir}/${pkgname}-${pkgver}" + DESTDIR="${pkgdir}" ninja -C build install } |