summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c1c02b2f68bf6eeb326bebcda68f55a5f8c422d3 (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
35
36
# Contributor: Johannes Dewender  arch at JonnyJD dot net
pkgname=indicator-keylock
pkgver=3.1.0
pkgrel=1
pkgdesc="An indicator that displays the status of the keyboard lock keys"
arch=('x86_64' 'i686')
url="https://launchpad.net/indicator-keylock/"
license=('GPL3')
depends=('gconf' 'libappindicator-gtk3' 'libunique3' 'libnotify' 'libx11'
	'desktop-file-utils' 'gtk-update-icon-cache')
makedepends=()
optdepends=('notification-daemon: for notificiations')
backup=()
options=()
install=indicator-keylock.install
source=("http://archive.ubuntu.com/ubuntu/pool/universe/i/$pkgname/${pkgname}_$pkgver.tar.xz")
md5sums=('8d2f55978eac2f637f73a5c06c295607')

prepare() {
	cd "$pkgname-$pkgver"
	# the tarball is plain from the repository, without configure
	./autogen.sh
}

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-schemas-compile
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}