summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0eac7e7b5f2a3f4ee101be41b3d0c1996ff2f98e (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
# Maintainer: Raphael Scholer <rscholer@gmx.de>
# Contributor: tomberry88 <tomberry@live.it>
# Contributor: Gour-Gadadhara Dasa <gour@atmarama.net>
pkgname=xfce4-kbdleds-plugin
pkgver=0.2.3
pkgrel=1
pkgdesc="Xfce keyboard LEDs panel plugin"
arch=('i686' 'x86_64')
url="https://github.com/oco2000/xfce4-kbdleds-plugin"
license=('GPL2')
conflicts=("xfce4-kbdleds-plugin-git")
depends=('xfce4-panel')
makedepends=('intltool' 'xfce4-dev-tools')
source=("https://github.com/oco2000/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz"
        deprecation_fixes.patch)
install="${pkgname}.install"
sha256sums=('a6af2764d2e5d62d27f17145601ae25469a9c0b39ca880fa46944f1ab283932e'
            'c3447e8a972fb263731a3c91b104b2cb706330069819ed0822df8689f4663601')

prepare() {
	cd "${pkgname}-${pkgname}-${pkgver}"
	patch -p1 -i "${srcdir}/deprecation_fixes.patch"
}



build() {
	cd "${pkgname}-${pkgname}-${pkgver}"
	./autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	cd "${pkgname}-${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et: