summaryrefslogtreecommitdiff
path: root/community/mate-applet-lockkeys/PKGBUILD
blob: 55a2a240098ea73d23d27018728b312f65699fc4 (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
# $Id: PKGBUILD 106790 2014-03-07 16:52:11Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>

pkgname=mate-applet-lockkeys
pkgver=0.2.3
pkgrel=2
pkgdesc="A MATE panel applet that shows which of the CapsLock, NumLock and ScrollLock keys are on and which are off."
url="http://www.zavedil.com/mate-lock-keys-applet/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gtk2' 'mate-panel')
makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools')
source=("http://www.zavedil.com/wp-content/uploads/2013/12/${pkgname}-${pkgver}.tar.gz")
md5sums=('84515b805609daf1998590ee5f1fcb6a')
install=${pkgname}.install

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure \
        --prefix=/usr \
        --libexecdir=/usr/lib/${pkgname}
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    rm -f "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled"
}