blob: f33b5d9edb2dbff1386329087a36e71ea61f098a (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Steffen Weber <-boenki-gmx-de->
# Contributor: Ewoud Nuyts <ewoud.nuyts@gmail.com>
pkgname=rasterbator
pkgver=1.21
pkgrel=3
pkgdesc="Create huge, rasterized images from any picture."
url="http://arje.net/rasterbator"
license=('custom')
arch=('i686' 'x86_64')
depends=('mono')
source=(https://rasterbatorapi.azureedge.net/downloads/Rasterbator_Standalone_${pkgver}.zip
http://www.gnu.org/licenses/agpl-3.0.txt
readme.licenses
$pkgname.patch
$pkgname
$pkgname.png
$pkgname.desktop)
md5sums=('426ed9e545433d6d4b83ce555539c48a'
'eb1e647870add0502f8f010b19de32af'
'1da706012a634ece69c0ad83f0321640'
'd60a3b969f3e413584a4be1b7cd19114'
'd26d0e432dc4ec0f80bac0cda5978efa'
'96002e81b88105e7916d44fb9367ae03'
'679d0dbd73404815d6e6b0b35c3910b7')
prepare() {
cd Rasterbator\ Standalone/source
patch MainForm.cs < $srcdir/$pkgname.patch
}
build() {
cd Rasterbator\ Standalone/source
mcs -out:../Rasterbator.exe -unsafe -resource:Rasterbator.MainForm.resources \
-r:System.Windows.Forms -r:System.Drawing -r:../itextsharp.dll *.cs
}
package() {
install -d $pkgdir/usr/{bin,share/{applications,pixmaps,licenses/$pkgname,doc/$pkgname/docfiles,$pkgname/languages}}
install -m755 $pkgname $pkgdir/usr/bin
install -m644 $pkgname.png $pkgdir/usr/share/pixmaps
install -m644 $pkgname.desktop $pkgdir/usr/share/applications
install -m644 agpl-3.0.txt $pkgdir/usr/share/licenses/$pkgname
install -m644 readme.licenses $pkgdir/usr/share/licenses/$pkgname
cd Rasterbator\ Standalone
install -m644 Rasterbator.exe $pkgdir/usr/share/$pkgname
install -m644 -t $pkgdir/usr/share/$pkgname *.dll
install -m644 -t $pkgdir/usr/share/$pkgname/languages languages/*
install -m644 -t $pkgdir/usr/share/doc/$pkgname/docfiles docfiles/*
install -m644 readme.html $pkgdir/usr/share/doc/$pkgname
}
|