Commit c4fd3736 authored by fkardame's avatar fkardame 💬

Initiate PKG

parents
# Maintainer: Furkan Kardame <furkan@fkardame.com>
pkgname="ayatana-indicator-power-git"
_pkgname="ayatana-indicator-power"
pkgver=1
pkgrel="1"
pkgdesc="Ayatana Indicator showing power state"
arch=("i686" "x86_64" "aarch64")
url="https://github.com/AyatanaIndicators"
license=("GPL2" "GPL3")
depends=("libayatana-indicator" "upower" "systemd" "libnotify" "dconf")
makedepends=("cmake" "cmake-extras" "libnotify" "glib2" "python")
optdepends=("mate-ayatana-indicator-applet" "zenity" "mate-control-center" "mate-power-manager")
source=("git+https://github.com/AyatanaIndicators/${pkgname}.git"
"0002_add-testing-option.patch")
md5sums=("SKIP"
"2fab358cf58bfde470e0b1f00931151b")
options=("!emptydirs")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
pkgver()
{
cd ${_pkgname}
echo "git_r$(git rev-list --count HEAD)"
}
prepare()
{
cd ${_pkgname}
patch -Np1 -i ../0002_add-testing-option.patch
}
build()
{
cd ${_pkgname}
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBEXECDIR=lib -Denable_tests=OFF
make
}
package()
{
cd ${_pkgname}
make DESTDIR="${pkgdir}" install
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment