updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / mse-cbg-ygo-template-xyz / PKGBUILD
blob3e962070048f4009eac354d4cbab12c0b6279558
1 # Contributor: Sapphira Armageddos <shadowkyogre@aim.com>
2 pkgname=mse-cbg-ygo-template-xyz
3 pkgver=2.0.0
4 pkgrel=3
5 pkgdesc="A more space-efficient and fancy template for the YuGiOh game. Also contains xyz modifications."
6 arch=('any')
7 url="http://magicseteditor.sourceforge.net"
8 license=('GPL')
9 depends=('mse-ygo-xyz' 'ttf-lightfoot')
10 conflicts=('mse-cbg-ygo-template')
11 provides=('mse-cbg-ygo-template')
12 source=("yugioh-cbg.mse-installer::http://mtg.pifro.com/download/file.php?id=2481&sid=57d0b13af8cb7448a11b1b9c747b85c1"
13 'cbg_modifications.patch'
14 'xyz-card.png')
16 md5sums=('1d87884992a14a05c5ba5e6f7b4a1811'
17          'a0dafd5186dff072260692acd11ef843'
18          'cca17bd1ba62d9d8e087202a6fdeecfc')
20 build() {
21         mkdir -p $pkgdir/usr/share/magicseteditor/data
22         bsdtar -xf yugioh-cbg.mse-installer
23         cd ./yugioh-cbg.mse-style
24         patch -p1 -i ../cbg_modifications.patch
25         cd -
26         chmod -x ./*.mse-style/*
27         cp -r ./*.mse-style $pkgdir/usr/share/magicseteditor/data
28         cp ./xyz-card.png $pkgdir/usr/share/magicseteditor/data/yugioh-cbg.mse-style
31 # vim:set ts=2 sw=2 et: