diff options
author | Solomon Choina | 2020-08-17 20:57:46 -0400 |
---|---|---|
committer | Solomon Choina | 2020-08-17 20:57:46 -0400 |
commit | 544ad371f91e2adc7fffc3b989906f8014fc158d (patch) | |
tree | 9810c2b4e89020556cbacdf46e4606fafd60689c | |
parent | 76ebefcc7b6a8dd0a06c044ec4cefe20ecaa14fd (diff) | |
download | aur-544ad371f91e2adc7fffc3b989906f8014fc158d.tar.gz |
normal granite, normal switchboard and updpkgver
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 9 insertions, 22 deletions
@@ -1,17 +1,15 @@ -# Generated by mksrcinfo v8 -# Tue Mar 27 09:50:21 UTC 2018 pkgbase = switchboard-plug-a11y-git pkgdesc = Switchboard Universal Access Plug - pkgver = r217.bc242d1 + pkgver = 2.2.0.r9.gc0ac8e6 pkgrel = 1 url = https://github.com/elementary/switchboard-plug-a11y arch = x86_64 groups = pantheon-unstable license = GPL3 makedepends = git - makedepends = granite-git + makedepends = granite makedepends = meson - makedepends = switchboard-git + makedepends = switchboard makedepends = vala depends = glib2 depends = glibc @@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=switchboard-plug-a11y-git -pkgver=r217.bc242d1 +pkgver=2.2.0.r9.gc0ac8e6 pkgrel=1 pkgdesc='Switchboard Universal Access Plug' arch=('x86_64') @@ -10,7 +10,7 @@ license=('GPL3') groups=('pantheon-unstable') depends=('glib2' 'glibc' 'gtk3' 'libgee' 'libgranite.so' 'libswitchboard-2.0.so') -makedepends=('git' 'granite-git' 'meson' 'switchboard-git' 'vala') +makedepends=('git' 'granite' 'meson' 'switchboard' 'vala') provides=('switchboard-plug-a11y') conflicts=('switchboard-plug-a11y') source=('git+https://github.com/elementary/switchboard-plug-a11y.git') @@ -19,27 +19,16 @@ sha256sums=('SKIP') pkgver() { cd switchboard-plug-a11y - echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" -} - -prepare() { - if [[ -d build ]]; then - rm -rf build - fi - mkdir build + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd build - - arch-meson ../switchboard-plug-a11y - ninja + arch-meson switchboard-plug-a11y build + ninja -C build } package() { - cd build - - DESTDIR="${pkgdir}" ninja install + DESTDIR="${pkgdir}" ninja -C build install } # vim: ts=2 sw=2 et: |