summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c107591af2aa89d64ad60bc7de1c6d4f149e2e9f (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
#Contributor: Jake VanderKolk <jakevanderkolk@gmail.com>
#Contributor: Mihai Coman <mihai@m1x.ro>
#Maintainer: Brian Bidulock <bidulock@openss7.org>

pkgname=fbxkb
pkgver=0.6
pkgrel=4
pkgdesc="Keyboard indicator and switcher"
arch=('i686' 'x86_64')
url="http://fbxkb.sourceforge.net/"
depends=('gtk2' 'libxmu')
depends_x86_64=('gdk-pixbuf-xlib')
license=('GPL')
source=(https://download.sourceforge.net/fbxkb/${pkgname}-${pkgver}.tgz
	fbxkb.patch)
md5sums=('fa768bbb07aac8a4ae590633499cce15'
         '33171c56c308eb68cb5035762fbb8aa0')

prepare() {
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../fbxkb.patch
}

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make LDFLAGS="-Wl,-O1,--sort-common,-z,relro,-z,now"
}

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