diff options
author | Antonio Rojas | 2015-11-05 10:09:47 +0100 |
---|---|---|
committer | Antonio Rojas | 2015-11-05 10:09:47 +0100 |
commit | 8d8a3f3949afbf34229478aed0cdc488dcf14624 (patch) | |
tree | e61f5f149a9be063cd25c06c595a3b59cfc941c3 | |
download | aur-8d8a3f3949afbf34229478aed0cdc488dcf14624.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..84eb1e438aee --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = kscreenlocker-git + pkgdesc = Library and components for secure lock screen architecture + pkgver = r328.c4054d7 + pkgrel = 1 + url = https://projects.kde.org/kscreenlocker + arch = i686 + arch = x86_64 + license = LGPL + makedepends = extra-cmake-modules + makedepends = git + makedepends = python + depends = kdelibs4support + depends = plasma-framework + depends = kidletime + depends = kwayland + source = git://anongit.kde.org/kscreenlocker.git + md5sums = SKIP + +pkgname = kscreenlocker-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2fa6ca8eb38b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Antonio Rojas <arojas@archlinux.org> + +pkgname=kscreenlocker-git +pkgver=r328.c4054d7 +pkgrel=1 +pkgdesc='Library and components for secure lock screen architecture' +arch=(i686 x86_64) +url='https://projects.kde.org/kscreenlocker' +license=(LGPL) +depends=(kdelibs4support plasma-framework kidletime kwayland) +makedepends=(extra-cmake-modules git python) +source=('git://anongit.kde.org/kscreenlocker.git') +md5sums=('SKIP') + +pkgver() { + cd kscreenlocker + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../kscreenlocker \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=lib \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |