diff options
author | Bilal Elmoussaoui | 2017-01-14 16:05:40 +0100 |
---|---|---|
committer | Bilal Elmoussaoui | 2017-01-14 16:05:40 +0100 |
commit | ce32985af0cd0e387809d855598eaf672771e335 (patch) | |
tree | db7aef26ed57571835fcdddb61669ec188ff5a41 /PKGBUILD | |
download | aur-sni-qt-patched-git.tar.gz |
first release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..76cf09d11d56 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +pkgname=sni-qt-patched-git +_pkgname=sni-qt +pkgver=r. +pkgrel=1 +pkgdesc='Qt4 plugin which turns all QSystemTrayIcon into StatusNotifierItems. Hardcode-Tray version' +arch=('i686' 'x86_64') +url='https://github.com/bil-elmoussaoui/sni-qt' +license=('LGPL3') +depends=('libdbusmenu-qt4') +makedepends=('cmake' 'git') +backup=('etc/xdg/sni-qt.conf') +provides=('sni-qt-patched' 'sni-qt') +conflicts=('sni-qt-eplus' 'sni-qt') +source=("git://github.com/bil-elmoussaoui/sni-qt.git") +md5sums=('SKIP') + +prepare() { + cd "$srcdir" + if [ -d "build" ]; then + rm -rf build + fi + mkdir build +} + +build() { + cd "$srcdir"/build + cmake ../$_pkgname \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install + + # Install config file for apps that need "Activate" action + install -Dm644 "${srcdir}/${_pkgname}/debian/sni-qt.conf" "${pkgdir}/etc/xdg/sni-qt.conf" +}
\ No newline at end of file |