first git release
This commit is contained in:
commit
4b97575f11
25
.SRCINFO
Normal file
25
.SRCINFO
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
pkgbase = hardcode-tray
|
||||||
|
pkgdesc = Fixes Hardcoded Tray Icons
|
||||||
|
pkgver = r738.4e91e52
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/bil-elmoussaoui/Hardcode-Tray
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
makedepends = git
|
||||||
|
depends = python
|
||||||
|
depends = python-gobject
|
||||||
|
depends = python-cairosvg
|
||||||
|
depends = librsvg
|
||||||
|
depends = gtk3
|
||||||
|
optdepends = sni-qt-eplus-bzr: patched qt4 sni plugin to enable icon modification
|
||||||
|
optdepends = inkscape: to convert svg to png with inkscape
|
||||||
|
optdepends = lib32-sni-qt-eplus-bzr: 32-bit patched qt4 sni plugin to enable icon modification
|
||||||
|
provides = hardcode-tray
|
||||||
|
conflicts = hardcode-tray-fixer-git
|
||||||
|
conflicts = hardcode-tray
|
||||||
|
source = git://github.com/bil-elmoussaoui/Hardcode-Tray
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = hardcode-tray
|
||||||
|
|
||||||
35
PKGBUILD
Normal file
35
PKGBUILD
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
|
||||||
|
# Maintainer: Bilal Elmoussaoui <bil.elmoussaoui@gmail.com>
|
||||||
|
|
||||||
|
_pkgbase=hardcode-tray
|
||||||
|
_gitname=Hardcode-Tray
|
||||||
|
pkgname=$_pkgbase
|
||||||
|
pkgver=r738.4e91e52
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Fixes Hardcoded Tray Icons"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/bil-elmoussaoui/Hardcode-Tray"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("$_pkgbase")
|
||||||
|
makedepends=("git")
|
||||||
|
conflicts=("hardcode-tray-fixer-git" "hardcode-tray")
|
||||||
|
depends=('python' 'python-gobject' 'python-cairosvg' 'librsvg' 'gtk3')
|
||||||
|
optdepends=('sni-qt-eplus-bzr: patched qt4 sni plugin to enable icon modification' 'inkscape: to convert svg to png with inkscape')
|
||||||
|
optdepends_x86_64=('lib32-sni-qt-eplus-bzr: 32-bit patched qt4 sni plugin to enable icon modification')
|
||||||
|
source=("git://github.com/bil-elmoussaoui/Hardcode-Tray")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$srcdir/$_gitname"
|
||||||
|
( set -o pipefail
|
||||||
|
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 "$srcdir/$_gitname/script.py" "$pkgdir/opt/$_gitname/script.py"
|
||||||
|
install -Dm755 "$srcdir/$_gitname/hardcode-tray" "$pkgdir/usr/bin/hardcode-tray"
|
||||||
|
install -d "$pkgdir/opt/$_gitname"
|
||||||
|
cp -r "$srcdir/$_gitname/database" "$pkgdir/opt/$_gitname"
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue