summaryrefslogtreecommitdiff
path: root/community/tdfsb
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-03 19:44:19 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-03 19:44:19 -0300
commit5f03f36a1327a1c1ade065b89ec2ad873b708a0d (patch)
tree0bbfab5010c0318a1faa46d5897fd831e0e4d60c /community/tdfsb
parent1ac43f3f1d47a56bbc1564ae7d2fd0869f345b6c (diff)
parent8eed59114cbcf729b65f87d3f73530f6c8363d20 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/libdvdnav/PKGBUILD extra/libguess/PKGBUILD extra/libmowgli/PKGBUILD extra/xchm/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'community/tdfsb')
-rw-r--r--community/tdfsb/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/community/tdfsb/PKGBUILD b/community/tdfsb/PKGBUILD
index 63acbf48f..668abdad0 100644
--- a/community/tdfsb/PKGBUILD
+++ b/community/tdfsb/PKGBUILD
@@ -1,28 +1,35 @@
-# $Id: PKGBUILD 34698 2010-12-11 21:21:17Z giovanni $
+# $Id: PKGBUILD 59877 2011-12-01 15:19:47Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=tdfsb
pkgver=0.0.10
-pkgrel=4
+pkgrel=5
pkgdesc="SDL based graphical file browser"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.determinate.net/webdata/seg/tdfsb.html"
license=('GPL')
depends=('smpeg' 'freeglut' 'sdl_image' 'libxmu')
-source=(http://www.determinate.net/webdata/data/${pkgname}-${pkgver}.tar.gz
- tdfsb.desktop
- tdfsb.png)
+source=("http://www.determinate.net/webdata/data/${pkgname}-${pkgver}.tar.gz"
+ 'tdfsb.desktop'
+ 'tdfsb.png')
md5sums=('8162994a7e882dc7074a5f628d2ac076'
'4070a7de1153c00df875384a1817e43b'
'ecabb39597a3c17f9541300869873e50')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
sed -i -e "s:-O2:${CFLAGS} ${LDFLAGS}:g" compile.sh
- ./compile.sh || return 1
+ ./compile.sh
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
install -D -m755 tdfsb "${pkgdir}/usr/bin/tdfsb"
+
# Install desktop file
- install -D -m755 ${srcdir}/tdfsb.desktop "${pkgdir}/usr/share/applications/tdfsb.desktop" || return 1
+ install -D -m755 ${srcdir}/tdfsb.desktop "${pkgdir}/usr/share/applications/tdfsb.desktop"
# Install icon
- install -D -m644 ${srcdir}/tdfsb.png "${pkgdir}/usr/share/pixmaps/tdfsb.png" || return 1
+ install -D -m644 ${srcdir}/tdfsb.png "${pkgdir}/usr/share/pixmaps/tdfsb.png"
}