diff options
author | Gokberk Yaltirakli | 2021-12-17 18:15:01 +0300 |
---|---|---|
committer | Gokberk Yaltirakli | 2021-12-17 18:15:01 +0300 |
commit | aae14e0d238bfc79991e2afc25ffc4cdb7a74b9a (patch) | |
tree | 1e9f6ae1647b3181628b7a0c6bea50474a3b5d6a | |
parent | 8336a5d580558e32c4a065173a344749b1d9c18f (diff) | |
download | aur-aae14e0d238bfc79991e2afc25ffc4cdb7a74b9a.tar.gz |
Update to v1.0.2
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 17 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = harvey pkgdesc = WCAG color contrast compliance checker - pkgver = 1.0.0 + pkgver = 1.0.2 pkgrel = 1 url = https://github.com/danrabbit/harvey arch = x86_64 @@ -8,8 +8,8 @@ pkgbase = harvey makedepends = meson makedepends = vala depends = granite - source = harvey-1.0.0.tar.gz::https://github.com/danrabbit/harvey/archive/1.0.0.tar.gz - sha256sums = 51d8e5d8e6eab405a713dcb635bfbff75c3187fdf8a0c5e16d5bec400a81a758 + depends = libhandy + source = harvey-1.0.2.tar.gz::https://github.com/danrabbit/harvey/archive/1.0.2.tar.gz + sha256sums = c8f31ec6f1bb672a15a6687aaa4902c3610a7415bff5631574d8338ddee51932 pkgname = harvey - @@ -1,25 +1,26 @@ -# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> +# Maintainer: Gokberk Yaltirakli <aur at gkbrk dot com> +# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz> pkgname=harvey -pkgver=1.0.0 +pkgver=1.0.2 pkgrel=1 pkgdesc='WCAG color contrast compliance checker' arch=('x86_64') url='https://github.com/danrabbit/harvey' license=('GPL2') -depends=('granite') +depends=('granite' 'libhandy') makedepends=('meson' 'vala') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('51d8e5d8e6eab405a713dcb635bfbff75c3187fdf8a0c5e16d5bec400a81a758') +sha256sums=('c8f31ec6f1bb672a15a6687aaa4902c3610a7415bff5631574d8338ddee51932') -build() { - arch-meson "${pkgname}-${pkgver}" build - meson compile -C build +build () { + cd "${pkgname}-${pkgver}" + meson build --prefix=/usr + ninja -C build } -package() { - DESTDIR="${pkgdir}" meson install -C build - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${pkgname}-${pkgver}/README.md" +package () { + cd "${pkgname}-${pkgver}" + DESTDIR="${pkgdir}" ninja -C build install + cp "${pkgdir}/usr/bin/com.github.danrabbit.harvey" "${pkgdir}/usr/bin/${pkgname}" } - -# vim: ts=2 sw=2 et: |