diff options
author | Jerome Leclanche | 2015-06-09 22:01:45 +0200 |
---|---|---|
committer | Jerome Leclanche | 2015-06-09 22:01:45 +0200 |
commit | 5c435bdea33a1bd384fbbf03bdd06767d4ab398f (patch) | |
tree | 1986b835e211eb2331cdf0e799754e073d1895eb | |
download | aur-5c435bdea33a1bd384fbbf03bdd06767d4ab398f.tar.gz |
Initial import from old AUR
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e0405b707412 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = lxqt-powermanagement-git + pkgdesc = LXQt power management daemon + pkgver = 0.9.0.14.g5a01b87 + pkgrel = 1 + url = http://lxqt.org + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + makedepends = cmake + makedepends = qt5-tools + depends = liblxqt-git + depends = libxcb + depends = qt5-svg + depends = upower + provides = lxqt-powermanagement + conflicts = lxqt-powermanagement + source = git+https://github.com/lxde/lxqt-powermanagement.git + sha256sums = SKIP + +pkgname = lxqt-powermanagement-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b4ba3136e76c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Jerome Leclanche <jerome@leclan.ch> + +_pkgname=lxqt-powermanagement +pkgname=$_pkgname-git +pkgver=0.9.0.14.g5a01b87 +pkgrel=1 +pkgdesc="LXQt power management daemon" +arch=("i686" "x86_64") +url="http://lxqt.org" +license=("GPL2") +depends=("liblxqt-git" "libxcb" "qt5-svg" "upower") +makedepends=("git" "cmake" "qt5-tools") +provides=("$_pkgname") +conflicts=("$_pkgname") +source=("git+https://github.com/lxde/$_pkgname.git") +sha256sums=("SKIP") + + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --always | sed "s/-/./g" +} + +build() { + mkdir -p build + cd build + cmake "$srcdir/$_pkgname" \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |