diff options
author | Solomon Choina | 2020-08-18 12:15:02 -0400 |
---|---|---|
committer | Solomon Choina | 2020-08-18 12:15:02 -0400 |
commit | 3eefb3b8905ccd756c9645ecf15d2c99c0fcc04c (patch) | |
tree | 671e199d17f043ec058b8b1053bf6d759a569a89 | |
parent | 8d9cd8faf2c83f748d9cfe3d98a46e73bf56f17b (diff) | |
download | aur-3eefb3b8905ccd756c9645ecf15d2c99c0fcc04c.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 -# Tue Mar 27 19:37:57 UTC 2018 pkgbase = switchboard-plug-network-git pkgdesc = Network plug for Switchboard - pkgver = r799.93e3de4 + pkgver = 2.3.1.r18.gba333ec pkgrel = 1 url = https://github.com/elementary/switchboard-plug-networking 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-network-git -pkgver=r799.93e3de4 +pkgver=2.3.1.r18.gba333ec pkgrel=1 pkgdesc='Network plug for Switchboard' arch=('x86_64') @@ -10,7 +10,7 @@ license=('GPL3') groups=('pantheon-unstable') depends=('glib2' 'glibc' 'gtk3' 'libgee' 'libnm-glib' 'nm-connection-editor' 'libgranite.so' 'libswitchboard-2.0.so') -makedepends=('git' 'granite-git' 'meson' 'switchboard-git' 'vala') +makedepends=('git' 'granite' 'meson' 'switchboard' 'vala') provides=('switchboard-plug-network') conflicts=('switchboard-plug-network') source=('switchboard-plug-network::git+https://github.com/elementary/switchboard-plug-networking.git') @@ -19,27 +19,16 @@ sha256sums=('SKIP') pkgver() { cd switchboard-plug-network - 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-network - ninja + arch-meson switchboard-plug-network build + ninja -C build } package() { - cd build - - DESTDIR="${pkgdir}" ninja install + DESTDIR="${pkgdir}" ninja -C build install } # vim: ts=2 sw=2 et: |