updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / geda-font-cyrillic / PKGBUILD
blobccbc3d01af664593b3aa70981368b016d5b0b06a
1 pkgname=geda-font-cyrillic
2 pkgver=20060127
3 pkgrel=2
4 pkgdesc="Cyrillic vector font with Russian and Ukrainian glyphs for gEDA/GAF Project"
5 url="http://lostclus.linux.kiev.ua/Projects/geda-font-cyrillic"
6 depends=('geda-suite')
7 source=()
8 md5sums=('c202c4520c6ed38ddde00c7b27b44305')
9 arch=('i686' 'x86_64')
10 license=(GPL)
11 backup=(/usr/share/gEDA/system-gafrc)
12 install=install.$pkgname
14 build ()
17         # Bad link, use wrap-around
18         cd $startdir
19         if [ -e $pkgname-$pkgver.tar.bz2 ]; then        
20                 cp $pkgname-$pkgver.tar.bz2 ./src
21         fi
23         cd $startdir/src
24         
25         if [ ! -e $pkgname-$pkgver.tar.bz2 ]; then      
26                 wget -c -O $pkgname-$pkgver.tar.bz2 \
27                      "http://lostclus.linux.kiev.ua/Projects/geda-font-cyrillic?action=AttachFile&do=get&target=$pkgname-$pkgver.tar.bz2"
28         fi
30         tar xjf $pkgname-$pkgver.tar.bz2
32         cd $startdir/src/$pkgname-$pkgver/
33         ./configure --prefix=/usr
34         make
35         make DESTDIR=$startdir/pkg install