diff options
author | Solomon Choina | 2020-08-17 21:25:02 -0400 |
---|---|---|
committer | Solomon Choina | 2020-08-17 21:25:02 -0400 |
commit | b9ff3229c8ea7151f0e56e40de3020556953b419 (patch) | |
tree | c9dc16b0f308256942a5135d66084b1e4ee3f62f | |
parent | 4ec0688ff6396989d0461104ad10dc4816fd94d7 (diff) | |
download | aur-b9ff3229c8ea7151f0e56e40de3020556953b419.tar.gz |
normal switchboard, normal granite 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 -# Thu Mar 29 18:40:13 UTC 2018 pkgbase = switchboard-plug-parental-controls-git pkgdesc = Switchboard Parental Controls Plug - pkgver = r409.9e72211 + pkgver = 3.0.1.r21.g5d9f013 pkgrel = 1 url = https://github.com/elementary/switchboard-plug-parental-controls 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 = accountsservice depends = gdk-pixbuf2 @@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=switchboard-plug-parental-controls-git -pkgver=r409.9e72211 +pkgver=3.0.1.r21.g5d9f013 pkgrel=1 pkgdesc='Switchboard Parental Controls Plug' arch=('x86_64') @@ -11,7 +11,7 @@ groups=('pantheon-unstable') depends=('accountsservice' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'libgee' 'polkit' 'libgranite.so' 'libswitchboard-2.0.so') -makedepends=('git' 'granite-git' 'meson' 'switchboard-git' 'vala') +makedepends=('git' 'granite' 'meson' 'switchboard' 'vala') provides=('switchboard-plug-parental-controls') conflicts=('switchboard-plug-parental-controls') source=('git+https://github.com/elementary/switchboard-plug-parental-controls.git') @@ -20,27 +20,16 @@ sha256sums=('SKIP') pkgver() { cd switchboard-plug-parental-controls - 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-parental-controls - ninja + arch-meson switchboard-plug-parental-controls build + ninja -C build } package() { - cd build - - DESTDIR="${pkgdir}" ninja install + DESTDIR="${pkgdir}" ninja -C build install } # vim: ts=2 sw=2 et: |