updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / alexandria / PKGBUILD
blobcb87aa09aa36e3e832d44ec6d9f5e9e73919f986
1 # Maintainer: Dmitry Korzhevin <dkorzhevin at gmail dot com>
2 # Contributor: Maxime de Roucy <maxime.deroucy@gmail.com>
3 # Contributor: Shacristo <shacristo at gmail dot com>
4 # Contributor: Andrea Scarpino <bash.lnx@gmail.com>
5 # Contributor: William Rea <sillywilly@gmail.com>
6 # Contributor: Stefan Husmann <stefanh-husmann@t-online.de>
8 pkgname=alexandria
9 pkgver=0.6.7
10 pkgrel=1
11 pkgdesc="A GNOME application to help you manage your book collection"
12 arch=('any')
13 url="http://alexandria.rubyforge.org"
14 license=('GPL2')
15 depends=('ruby-libglade' 'ruby-gconf2' 'ruby-gettext' 'ruby-gnome2>=0.90.5'  'hicolor-icon-theme' 'ruby-hpricot>=0.8.2' 'ruby-htmlentities>=4.2.0')
16 makedepends=('intltool' 'rake' 'rarian')
17 source=("http://files.rubyforge.vm.bytemark.co.uk/alexandria/${pkgname}-${pkgver}.tar.gz"
18         "${pkgname}.patch")
19 md5sums=('bb399ec7568f4829ce11ca1c5c49c958'
20          'edef76e94d65b5d5a51de0d2c462ef59')
21 install=$pkgname.install
23 build(){
24   cd "${srcdir}/${pkgname}-${pkgver}"
25   
26   patch -p1 < ${srcdir}/${pkgname}.patch
27   
28   DESTDIR="$pkgdir" rake install_package_staging
30   mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
32   install -m644 -t "${pkgdir}/usr/share/doc/${pkgname}" doc/*