blob: b216a415b719b5e0f29d4db261888447d3623ab3 (
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
|
# Maintainer: Matt Quintanilla <matt @ matt quintanilla . xyz>
# Contributor: ValHue <vhuelamo at gmail dot com>
# Contributor: Steven Honeyman <stevenhoneyman at gmail dot com>
# Contributor: yugrotavele <yugrotavele at archlinux dot us>
# Contributor: Roman Kyrylych <roman at archlinux dot org>
# Contributor: Mateusz Herych <heniekk at gmail dot com>
# Contributor: Mefju <mefju at o2 dot pl>
#
pkgname="isomaster"
pkgver="1.3.17"
pkgrel="1"
pkgdesc="CD image editor written in GTK2"
arch=('i686' 'x86_64')
url="http://littlesvr.ca/isomaster"
license=('GPL2')
depends=('gtk2' 'desktop-file-utils')
source=("${pkgname}-${pkgver}.tar.bz2::${url}/releases/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('a358e890441486821e44b0c4a68494cbc15fc0d9351298bb91dd1a2b381f5bd6')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's/m 644/Dm 644/' Makefile
## uncomment to disable the messagebox when last used dir is missing ##
#sed -i 's/if(newDir == NULL)/& return false; if (1==2)/' fsbrowser.c
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
for n in ./po/*.po; do
msgfmt $n -o ./po/`basename $n .po`.mo
done
make PREFIX=/usr
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -d ${pkgdir}/usr/share/locale
for n in ./po/*.mo; do
install -p -D -m644 $n ${pkgdir}/usr/share/locale/`basename $n .mo`/LC_MESSAGES/${pkgname}.mo
done
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -D -m644 LICENCE.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|