summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.AURINFO16
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD51
-rw-r--r--isomaster.install11
4 files changed, 35 insertions, 50 deletions
diff --git a/.AURINFO b/.AURINFO
deleted file mode 100644
index 477c5471128..00000000000
--- a/.AURINFO
+++ /dev/null
@@ -1,16 +0,0 @@
-pkgbase = isomaster
- pkgdesc = CD image editor written in GTK2
- pkgver = 1.3.13
- pkgrel = 1
- url = http://littlesvr.ca/isomaster
- install = isomaster.install
- arch = i686
- arch = x86_64
- license = GPL2
- depends = gtk2
- depends = desktop-file-utils
- source = http://littlesvr.ca/isomaster/releases/isomaster-1.3.13.tar.bz2
- md5sums = 0fe6a1d862feb954d8f760d23829e5b4
-
-pkgname = isomaster
-
diff --git a/.SRCINFO b/.SRCINFO
index 477c5471128..421770d13fb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = isomaster
pkgdesc = CD image editor written in GTK2
- pkgver = 1.3.13
+ pkgver = 1.3.14
pkgrel = 1
url = http://littlesvr.ca/isomaster
- install = isomaster.install
arch = i686
arch = x86_64
license = GPL2
depends = gtk2
depends = desktop-file-utils
- source = http://littlesvr.ca/isomaster/releases/isomaster-1.3.13.tar.bz2
- md5sums = 0fe6a1d862feb954d8f760d23829e5b4
+ source = isomaster-1.3.14.tar.bz2::http://littlesvr.ca/isomaster/releases/isomaster-1.3.14.tar.bz2
+ sha256sums = 8c8aa009277770741cafe41848c0da07057d0bc75d8617243df284e46465df6d
pkgname = isomaster
diff --git a/PKGBUILD b/PKGBUILD
index f5d30c5323f..f7ff861ec5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,50 @@
-# Maintainer: Steven Honeyman <stevenhoneyman at gmail com>
+# Maintainer: 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@archlinux.org>
-# Contributor: Mateusz Herych <heniekk@gmail.com>
-# Contributor: Mefju <mefju@o2.pl>
-
+# 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.13
+pkgver=1.3.14
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')
-install=isomaster.install
-source=("http://littlesvr.ca/isomaster/releases/$pkgname-$pkgver.tar.bz2")
-md5sums=('0fe6a1d862feb954d8f760d23829e5b4')
+source=("${pkgname}-${pkgver}.tar.bz2::${url}/releases/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('8c8aa009277770741cafe41848c0da07057d0bc75d8617243df284e46465df6d')
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's/^#WITHOUT_NLS/WITHOUT_NLS/' Makefile
- sed -i 's/mousepad/leafpad/' Makefile
- sed -i 's/m 644/Dm 644/' Makefile
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's/^#WITHOUT_NLS/WITHOUT_NLS/' Makefile
+ sed -i 's/mousepad/leafpad/' Makefile
+ 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
+ ## 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"
- make PREFIX=/usr
+ 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"
- make PREFIX=/usr DESTDIR="$pkgdir" install
+ 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"
}
+
+# vim: set ts=4 sw=4 et syn=sh ft=sh:
diff --git a/isomaster.install b/isomaster.install
deleted file mode 100644
index 5e5cfef4d9f..00000000000
--- a/isomaster.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- update-desktop-database -q
-}