blob: 22dd0db644c8822dd07e1c18b90e99917ef24f7f (
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
37
38
39
|
# Maintainer: Julio Gonzalez juliolokooo at gmail dot com
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=indicator-keylock
pkgver=3.1.0
pkgrel=4
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=('intltool')
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 \
CC=g++ \
CFLAGS='-fpermissive'
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|