diff options
author | Brian Bidulock | 2022-01-18 20:40:05 -0700 |
---|---|---|
committer | Brian Bidulock | 2022-01-18 20:40:05 -0700 |
commit | 7f88cb5150d7368d426b359a87b6458adeac1aa9 (patch) | |
tree | 2e6736e86acbef9a7228c9646029525da2672b37 | |
parent | a0eb6012eaf63dfaeb5969273fea2635bf492adb (diff) | |
download | aur-cbatticon-gtk3-git.tar.gz |
update for new cflags
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 28 insertions, 22 deletions
@@ -1,18 +1,18 @@ pkgbase = cbatticon-gtk3-git - pkgdesc = A lightweight and fast battery icon that sits in your system tray - pkgver = 1.6.10.r0.ge4b1ec6 - pkgrel = 1 + pkgdesc = Lightweight battery icon for the system tray + pkgver = 1.6.10.r2.g6e3d436 + pkgrel = 2 url = https://github.com/valr/cbatticon - arch = i686 arch = x86_64 + arch = i686 + arch = armv7h license = GPL2 makedepends = git - depends = libnotify depends = gtk3 - provides = cbatticon=1.6.10-1 + depends = libnotify + provides = cbatticon=1.6.10-2 conflicts = cbatticon source = cbatticon-gtk3-git::git+https://github.com/valr/cbatticon.git - md5sums = SKIP + sha256sums = SKIP pkgname = cbatticon-gtk3-git - @@ -2,33 +2,39 @@ # Contributor: Colin Jones (xentalion) <colin@ergoeclectic.com> # Contributor: Valère Monseur <valere dot monseur at ymail dot com> -_pkgname=cbatticon pkgname=cbatticon-gtk3-git -pkgver=1.6.10.r0.ge4b1ec6 -pkgrel=1 -pkgdesc="A lightweight and fast battery icon that sits in your system tray" -arch=('i686' 'x86_64') -url="https://github.com/valr/cbatticon" -license=('GPL2') -depends=('libnotify' 'gtk3') +_pkgname=cbatticon +pkgver=1.6.10.r2.g6e3d436 +pkgrel=2 +pkgdesc='Lightweight battery icon for the system tray' +arch=(x86_64 i686 armv7h) +url='https://github.com/valr/cbatticon' +license=(GPL2) +depends=(gtk3 libnotify) makedepends=('git') provides=("${_pkgname}=${pkgver%%.r*}-${pkgrel}") conflicts=("${_pkgname}") source=("$pkgname::git+https://github.com/valr/cbatticon.git") -md5sums=('SKIP') +sha256sums=('SKIP') + +prepare() { + cd $pkgname + sed -i -e "s;-Wno-format;$CFLAGS;" Makefile +} pkgver() { - cd ${pkgname} + cd $pkgname git describe --long --tags | sed -r 's,^[^0-9]*,,;s,-([0-9][0-9]*),.r\1,;s,[-_],.,g' } build() { - cd ${pkgname} - make WITH_NOTIFY=1 WITH_GTK3=1 + make -C "$pkgname" WITH_NOTIFY=1 WITH_GTK3=1 } package() { - cd ${pkgname} - make PREFIX="${pkgdir}/usr" install + make -C "$pkgname" PREFIX="$pkgdir/usr" install } + +# getver: github.com/valr/cbatticon +# vim: ts=2 sw=2 et: |