summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e3f2b8ff56c781e5b77711505e9cce38e078fae (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:  mrxx <mrxx at cyberhome dot at>

_debpkg=libeval0
pkgname=libeval0-bin
pkgver=0.29.6
pkgrel=2
pkgdesc="Library to keep eleeye's (Elephant Eye / XiangQi Chinese Chess) engine algorithm's balance"
arch=('i686' 'x86_64')
url="http://www.xqbase.com/"
license=('GPL2')
conflicts=('libeval0' 'gmchess')
makedepends=('libarchive')
source_i686=("http://security.ubuntu.com/ubuntu/pool/universe/g/gmchess/${_debpkg}_${pkgver}.3-1_i386.deb")
source_x86_64=("http://security.ubuntu.com/ubuntu/pool/universe/g/gmchess/${_debpkg}_${pkgver}.3-1_amd64.deb")
sha1sums_i686=('72e5a91f03eabab4a425cfeb264fb6b29c00b1b9')
sha1sums_x86_64=('ffccec6ae68fe08d41bf1b8ad248c397c2ef7f3e')

prepare() {
    bsdtar xf data.tar.xz
}

package(){
  install -d $pkgdir/usr/share
  install -d $pkgdir/usr/lib
  install -Dm755 $srcdir/usr/lib/x86_64-linux-gnu/libeval.so.0.0.0 $pkgdir/usr/lib/
  ln -s $pkgdir/usr/lib/libeval.so.0.0.0 $pkgdir/usr/lib/libeval.so.0
  cp -r $srcdir/usr/share $pkgdir/usr/
  cp -r "$srcdir/usr/share" "$pkgdir/usr/"
}