1 # Contributor: rabyte <rabyte*gmail>
3 pkgname=postal2stp-freemp
6 pkgdesc='Freeware multiplayer edition of "Postal 2: Share The Pain"'
8 url="http://icculus.org/news/news.php?id=4419"
10 depends=('gcc-libs' 'libstdc++5' 'xorg-server')
11 [ "$CARCH" = "x86_64" ] && depends=('lib32-gcc-libs' 'lib32-libstdc++5' 'xorg-server')
12 source=(http://treefort.icculus.org/postal2/Postal2STP-FreeMP-linux.tar.bz2 \
15 md5sums=('eb40b2ddfec31062639e1c942949f524'
16 '1e5ec64cbef7f14b16e6f4e6837312a0'
17 'bd886391ed0d420622de64dadc5f5401')
20 cd Postal2STP-FreeMP-linux
22 mkdir -p $pkgdir/usr/share/{applications,pixmaps,licenses/$pkgname}
23 mv -f $pkgname-license.txt $pkgdir/usr/share/licenses/$pkgname/
24 mv -f postal2.xpm $pkgdir/usr/share/pixmaps/
25 cp -rf . $pkgdir/usr/share/$pkgname/
26 install -m755 -D ../$pkgname.sh $pkgdir/usr/bin/$pkgname
27 install -m644 ../$pkgname.desktop $pkgdir/usr/share/applications/
29 find $pkgdir -name '*.so*' -exec chmod 644 {} \;
32 # vim:set ts=2 sw=2 et: