summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Choina2020-08-17 21:29:32 -0400
committerSolomon Choina2020-08-17 21:29:32 -0400
commitb978bc7610b2d653e8d4256c56ee2bd5d7fe4b95 (patch)
treec478349f50a0ebc398feed9a4a7a4043f693ba87
parent05fadcaf0288be9f850579af828093c859431c4b (diff)
downloadaur-switchboard-plug-printers-git.tar.gz
normal switchboard, normal granite and updpkgver
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD23
2 files changed, 9 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 69de900c39a..bb5381bdbbc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
-# Generated by mksrcinfo v8
-# Sun Jul 22 01:08:03 UTC 2018
pkgbase = switchboard-plug-printers-git
pkgdesc = Switchboard Printers Plug
- pkgver = r391.1323419
+ pkgver = 2.1.9.r6.gca3d546
pkgrel = 1
url = https://github.com/elementary/switchboard-plug-printers
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
diff --git a/PKGBUILD b/PKGBUILD
index c89a9f53765..50a853a9cf8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=switchboard-plug-printers-git
-pkgver=r391.1323419
+pkgver=2.1.9.r6.gca3d546
pkgrel=1
pkgdesc='Switchboard Printers Plug'
arch=('x86_64')
@@ -10,7 +10,7 @@ license=('GPL3')
groups=('pantheon-unstable')
depends=('glib2' 'glibc' 'gtk3' 'libcups' 'libgee'
'libgranite.so' 'libswitchboard-2.0.so')
-makedepends=('git' 'granite-git' 'meson' 'switchboard-git' 'vala')
+makedepends=('git' 'granite' 'meson' 'switchboard' 'vala')
provides=('switchboard-plug-printers')
conflicts=('switchboard-plug-printers')
source=('git+https://github.com/elementary/switchboard-plug-printers.git')
@@ -19,27 +19,16 @@ sha256sums=('SKIP')
pkgver() {
cd switchboard-plug-printers
- 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-printers
- ninja
+ arch-meson switchboard-plug-printers build
+ ninja -C build
}
package() {
- cd build
-
- DESTDIR="${pkgdir}" ninja install
+ DESTDIR="${pkgdir}" ninja -C build install
}
# vim: ts=2 sw=2 et: