summaryrefslogtreecommitdiff
path: root/community/cellwriter/PKGBUILD
blob: 5b2016a03ac82d3dcc20dbbd5efea2cdbf03fa45 (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.5
pkgrel=1
pkgdesc='A grid-entry natural handwriting input panel.'
arch=('i686' 'x86_64' 'mips64el')
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}-1.3.4-cellwidget-dont-disable-xinput.diff")
md5sums=('16db87415c3c669e0489f9c4d795ec7d'
         '5e8c61309c5ec8f67f0af7bb5ceb1aea')
install="${pkgname}.install"

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

  patch -p0 < "${srcdir}/${pkgname}-1.3.4-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
}