diff options
author | Solomon Choina | 2020-08-10 13:55:11 -0400 |
---|---|---|
committer | Solomon Choina | 2020-08-10 13:55:11 -0400 |
commit | 7153f278f079a43dbf49cfb7daf7d6040f6fc7d9 (patch) | |
tree | 320a78b9e791c4b0b57e1769e9cf3452070d2d87 | |
parent | 03591cc745eca5bf4bdb0fcd53eaa98ff666633f (diff) | |
download | aur-7153f278f079a43dbf49cfb7daf7d6040f6fc7d9.tar.gz |
updated to a more modern meson also using wingpanel stable
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 8 insertions, 19 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Tue Apr 3 09:30:33 UTC 2018 pkgbase = wingpanel-indicator-session-git pkgdesc = Session indicator for Wingpanel - pkgver = r292.1ae5d21 + pkgver = 2.2.8.r34.g525324f pkgrel = 1 url = https://github.com/elementary/wingpanel-indicator-session arch = x86_64 @@ -13,7 +11,7 @@ pkgbase = wingpanel-indicator-session-git makedepends = granite-git makedepends = meson makedepends = vala - makedepends = wingpanel-git + makedepends = wingpanel depends = accountsservice depends = gdk-pixbuf2 depends = glib2 @@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=wingpanel-indicator-session-git -pkgver=r292.1ae5d21 +pkgver=2.2.8.r34.g525324f pkgrel=1 pkgdesc='Session indicator for Wingpanel' arch=('x86_64') @@ -11,7 +11,7 @@ groups=('pantheon-unstable') depends=('accountsservice' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'libgranite.so' 'libwingpanel-2.0.so') makedepends=('git' 'gobject-introspection' 'granite-git' 'meson' 'vala' - 'wingpanel-git') + 'wingpanel') provides=('wingpanel-indicator-session') conflicts=('wingpanel-indicator-session') source=('git+https://github.com/elementary/wingpanel-indicator-session.git') @@ -20,27 +20,18 @@ sha256sums=('SKIP') pkgver() { cd wingpanel-indicator-session - 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 ../wingpanel-indicator-session - ninja + arch-meson wingpanel-indicator-session build + ninja -C build } package() { - cd build - DESTDIR="${pkgdir}" ninja install + DESTDIR="${pkgdir}" ninja -C build install } # vim: ts=2 sw=2 et: |