summaryrefslogtreecommitdiff
path: root/community/cellwriter/PKGBUILD
blob: ebac22ee51cb4b4704fec2f627c03d0af70824b1 (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
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Cilyan Olowen <gaknar@gmail.com>
# Contributor: Alexander Markov <apsheronets@gmail.com>
# Contributor: Winston Weinert

pkgname=cellwriter
pkgver=1.3.4
pkgrel=6
pkgdesc='A grid-entry natural handwriting input panel.'
arch=('i686' 'x86_64')
license=('GPL')
url='http://v1.risujin.org/cellwriter/'
depends=('gtk2' 'libxtst' 'libgnome' 'hicolor-icon-theme')
source=("http://v1.risujin.org/pub/cellwriter/${pkgname}-${pkgver}.tar.gz"
        "http://launchpadlibrarian.net/18959127/${pkgname}-${pkgver}-cellwidget-dont-disable-xinput.diff")
md5sums=('72b4e552a32d6acd888da0b88aeebbdd'
         '5e8c61309c5ec8f67f0af7bb5ceb1aea')
install="${pkgname}.install"

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/src"

  patch -p0 < "${srcdir}/${pkgname}-${pkgver}-cellwidget-dont-disable-xinput.diff"

  cd "${srcdir}/${pkgname}-${pkgver}"

  env LDFLAGS='-lX11' ./configure --prefix=/usr
  make
}

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