aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spacefm/APKBUILD
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-08-28 22:45:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-05 13:21:02 +0200
commitee67d7418722f6835626edca3d572ea9bead007f (patch)
treeba953fd351a2e747b7ccb5fc8a39f532283cd2e9 /testing/spacefm/APKBUILD
parent45d90f05e951fc01b79c269502474a0949b83b51 (diff)
downloadaports-ee67d7418722f6835626edca3d572ea9bead007f.tar.bz2
aports-ee67d7418722f6835626edca3d572ea9bead007f.tar.xz
testing/spacefm: update to 1.0.3
Diffstat (limited to 'testing/spacefm/APKBUILD')
-rw-r--r--testing/spacefm/APKBUILD36
1 files changed, 27 insertions, 9 deletions
diff --git a/testing/spacefm/APKBUILD b/testing/spacefm/APKBUILD
index 04f991fc7d..9b6d261b9a 100644
--- a/testing/spacefm/APKBUILD
+++ b/testing/spacefm/APKBUILD
@@ -2,19 +2,34 @@
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=spacefm
-pkgver=1.0.1
+pkgver=1.0.3
pkgrel=0
pkgdesc='Multi-panel tabbed file manager (GTK2 version)'
arch=all
url='http://ignorantguru.github.com/spacefm/'
license='GPL3'
depends='bash'
-makedepends='intltool gettext-dev gtk+2.0-dev gtk+3.0-dev udev-dev ffmpegthumbnailer-dev linux-headers'
+makedepends='intltool gettext-dev gtk+2.0-dev gtk+3.0-dev eudev-dev ffmpegthumbnailer-dev linux-headers'
subpackages="$pkgname-lang $pkgname-doc $pkgname-gtk3 $pkgname-gtk3-lang:lang3 $pkgname-gtk3-doc:doc3"
-source="saveas-https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+source="saveas-https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz/$pkgname-$pkgver.tar.gz
+ fix-malloc_trim.patch
+ "
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ local i
+ cd "$_builddir"
+
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure --prefix=/usr \
--with-gtk2\
-disable-pixmaps || return 1
@@ -22,7 +37,7 @@ build() {
}
gtk3() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
pkgdesc="Multi-panel tabbed file manager (GTK3 version)"
replaces="spacefm"
mkdir "$subpkgdir"
@@ -47,10 +62,13 @@ doc3() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
}
-md5sums="3665b0cf08dcbebefcc832afc19d613e spacefm-1.0.1.tar.gz"
-sha256sums="7f1b0289939e0301cf412518fc4eb35219871faff172ff249d95e4cfa732fa56 spacefm-1.0.1.tar.gz"
-sha512sums="30753bce422629ba87805f61ec0ce0ea6c24ecd10c18b261a956e86796de136aca82f292d463173c65871addad1823764c6126dec2e87b158f3c1160f3c6567e spacefm-1.0.1.tar.gz"
+md5sums="000e26dc414443f934e3838610cb6174 spacefm-1.0.3.tar.gz
+0d71d0941ef9d443dd7ccf62eff51a13 fix-malloc_trim.patch"
+sha256sums="a6d2db6517d80d9dac65da45412704e3122c65a59f0f4dbd593cea5c4bfa7b6a spacefm-1.0.3.tar.gz
+e2d0d0768ba3ced33c132eb2830af6cb493cf8fb465830cd16bc6c8964c6670a fix-malloc_trim.patch"
+sha512sums="3b5b0c5fba9eeb2de92147f6653dc7dc792a4201f9a5abd27d2fe62333d31b4731e56ab9658ea7026c030a82cc95fc97269eebe394cfd0c78183c41d5d5d6264 spacefm-1.0.3.tar.gz
+5317e57ac833479d28112fb9ef3af5aa892117d4bdce23df78624f0740c13c4ce85fd0bceb9dabd078d008b07e4605fbb1a4817b0fab5f71baa1a4fbda92c90c fix-malloc_trim.patch"