diff options
Diffstat (limited to 'community/i3lock/PKGBUILD')
-rw-r--r-- | community/i3lock/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/i3lock/PKGBUILD b/community/i3lock/PKGBUILD new file mode 100644 index 000000000..6d589aba8 --- /dev/null +++ b/community/i3lock/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> + +pkgname=i3lock +pkgver=2.1 +pkgrel=1 +pkgdesc="An improved screenlocker based upon XCB and PAM" +arch=('i686' 'x86_64') +url="http://i3.zekjur.net/i3lock/" +license=('MIT') +groups=("i3") +depends=('xcb-util' 'pam') +options=('docs') +source=(http://i3.zekjur.net/i3lock/$pkgname-$pkgver.tar.gz) +md5sums=('6a86f0032eb0c09e557afae998cbe000') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make NOLIBCAIRO=y + gzip i3lock.1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 i3lock.1.gz ${pkgdir}/usr/share/man/man1/i3lock.1.gz + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + make clean +} + +# vim:set ts=2 sw=2 et: + |