summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3beb31231f84119acf0b2f287b2b46c3ba30c61b (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
# Maintainer:  Caleb Maclennan <caleb@alerque.com>
# Contributor: Marcos Heredia <chelqo@gmail.com>
# Contributor: Filip Kemuel Dam Bartholdy <filip_kemuel@yahoo.dk>

pkgname=typecatcher
pkgver=0.3
pkgrel=2
pkgdesc='Download Google webfonts for off-line use'
arch=('i686' 'x86_64')
url='https://github.com/andrewsomething/typecatcher'
screenshot='http://andrewsomething.files.wordpress.com/2012/11/selection_005.png'
license=('GPL3')
depends=('python' 'python-distutils-extra' 'python-gobject' 'yelp' 'webkit2gtk' 'gobject-introspection' 'gtk3')
source=("https://github.com/andrewsomething/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('1328a54021d0c575f7e4c4f7331c33cfff361861b065278998f0a186aa92c7b3')

build() {
  cd "$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1
  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"/
  install -Dpm644 COPYING "$pkgdir/usr/share/licenses/$pkgname"/
  install -dm755 "$pkgdir/usr/share/doc/$pkgname"/
  install -Dpm644 AUTHORS "$pkgdir/usr/share/doc/$pkgname"/
}