diff options
author | Bilal Elmoussaoui | 2017-06-24 20:49:14 +0200 |
---|---|---|
committer | Bilal Elmoussaoui | 2017-06-24 20:49:14 +0200 |
commit | 631c6ddb2648d5cdd3fa813957f8deda4763df72 (patch) | |
tree | 126eb12c3d792727f9a5e0721e190bd7dea69c57 | |
parent | 8996545d4ea115ede4eda6532cd6ad20b6905428 (diff) | |
download | aur-631c6ddb2648d5cdd3fa813957f8deda4763df72.tar.gz |
bump version number
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 20 |
3 files changed, 23 insertions, 13 deletions
@@ -1,11 +1,13 @@ pkgbase = hardcode-tray pkgdesc = Fixes Hardcoded Tray Icons - pkgver = 3.8.2 + pkgver = 4.0 pkgrel = 1 url = https://github.com/bil-elmoussaoui/Hardcode-Tray arch = i686 arch = x86_64 - license = GPL + license = GPL-3.0 + makedepends = ninja + makedepends = meson depends = python depends = python-gobject depends = python-cairosvg @@ -14,12 +16,12 @@ pkgbase = hardcode-tray optdepends = sni-qt-patched-git: patched qt4 sni plugin to enable icon modification optdepends = inkscape: to convert svg to png with inkscape optdepends = imagemagick: used to convert svg to png - optdepends = lib32-sni-qt-patched-git: 32-bit patched qt4 sni plugin to enable icon modification provides = hardcode-tray conflicts = hardcode-tray-fixer-git conflicts = hardcode-tray-git - source = https://github.com/bil-elmoussaoui/Hardcode-Tray/archive/v3.8.2.tar.gz - sha256sums = dafbc450b4a2406375ff24e0d8477a57e399736e979ed0b40e37add3e0824468 + source = https://github.com/bil-elmoussaoui/Hardcode-Tray/archive/v4.0.tar.gz + sha256sums = 432ed1bb9d13e04344838ccd8259f91e4303e82138b3080bad9a52235c313bec + optdepends_x86_64 = lib32-sni-qt-patched-git: 32-bit patched qt4 sni plugin to enable icon modification pkgname = hardcode-tray diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..93f5d9f2777e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.tar.gz +*.tar.xz @@ -4,24 +4,28 @@ _pkgbase=hardcode-tray _gitname=Hardcode-Tray pkgname=$_pkgbase -pkgver=3.8.2 +pkgver=4.0 pkgrel=1 pkgdesc="Fixes Hardcoded Tray Icons" arch=('i686' 'x86_64') url="https://github.com/bil-elmoussaoui/${_gitname}" -license=('GPL') +license=('GPL-3.0') provides=("$_pkgbase") conflicts=("hardcode-tray-fixer-git" "hardcode-tray-git") +makedepends=('ninja' 'meson') depends=('python' 'python-gobject' 'python-cairosvg' 'librsvg' 'gtk3') optdepends=('sni-qt-patched-git: patched qt4 sni plugin to enable icon modification' 'inkscape: to convert svg to png with inkscape' 'imagemagick: used to convert svg to png') optdepends_x86_64=('lib32-sni-qt-patched-git: 32-bit patched qt4 sni plugin to enable icon modification') source=("${url}/archive/v${pkgver}.tar.gz") -sha256sums=('dafbc450b4a2406375ff24e0d8477a57e399736e979ed0b40e37add3e0824468') +sha256sums=('432ed1bb9d13e04344838ccd8259f91e4303e82138b3080bad9a52235c313bec') + + +build() { + cd "$srcdir/${_gitname}-${pkgver}" + meson builddir --prefix=/usr +} package() { - install -Dm755 "$srcdir/$_gitname-$pkgver/hardcode-tray.py" "$pkgdir/opt/$_gitname/hardcode-tray.py" - install -Dm755 "$srcdir/$_gitname-$pkgver/hardcode-tray" "$pkgdir/usr/bin/hardcode-tray" - install -d "$pkgdir/opt/$_gitname" - cp -r -f "$srcdir/$_gitname-$pkgver/src" "$pkgdir/opt/$_gitname" - cp -r -f "$srcdir/$_gitname-$pkgver/data" "$pkgdir/opt/$_gitname" + cd "$srcdir/${_gitname}-${pkgver}" + DESTDIR="${pkgdir}" ninja -C builddir install } |