Skip to content

Commit

Permalink
[i3lock-git] Updated pkgbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Jul 20, 2014
1 parent 099c473 commit 306a550
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions i3lock-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# Maintainer: Thorsten Töpper <atsutane-aur@freethoughts.de>
# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
# Contributor: Thorsten Töpper <atsutane-aur@freethoughts.de>
# Contributor: William Giokas <1007380@gmail.com>

pkgname=i3lock-git
pkgver=2.5.1.g3e13676
pkgver=2.6
pkgrel=1
pkgdesc='An improved screenlocker based upon XCB and PAM'
pkgdesc="An improved screenlocker based upon XCB and PAM"
arch=('i686' 'x86_64')
url='http://i3wm.org'
url="http://i3wm.org/i3lock/"
license=('MIT')
groups=('i3-vcs')
provides=('i3lock')
conflicts=('i3lock')
depends=('xcb-util-image' 'libev' 'cairo' 'libxkbcommon' 'libxkbfile')
depends=('xcb-util-image' 'libev' 'cairo' 'libxkbcommon-x11')
backup=("etc/pam.d/i3lock")
options=('docs')
makedepends=('git')
source=(git://code.i3wm.org/i3lock)
sha1sums=('SKIP')
Expand All @@ -25,15 +28,19 @@ pkgver() {

build() {
cd "$_gitname"

# Fix ticket FS#31544, sed line taken from gentoo
sed -i -e 's:login:system-auth:' i3lock.pam

make
gzip i3lock.1
}


package() {
package() {
cd "$_gitname"
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
Expand Down

0 comments on commit 306a550

Please sign in to comment.