summaryrefslogtreecommitdiff
path: root/community/i3lock/PKGBUILD
blob: cfba2dcbf61556e731bd2c8f08d3a25a9e5a0357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 70687 2012-05-14 17:17:38Z ttopper $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>

pkgname=i3lock
pkgver=2.4
pkgrel=3
pkgdesc="An improved screenlocker based upon XCB and PAM"
arch=('i686' 'x86_64')
url="http://i3wm.org/i3lock/"
license=('MIT')
groups=("i3")
depends=('xcb-util-image' 'xcb-util-keysyms' 'pam' 'libev' 'cairo')
options=('docs')
backup=("etc/pam.d/i3lock")
source=("http://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2")
md5sums=('728e2654d886ef97449708f0135e9fa5')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
  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: