PKGBUILDs/community/tuxcmd/PKGBUILD

43 lines
1.1 KiB
Bash
Raw Normal View History

2016-01-10 01:34:32 +00:00
# $Id$
2016-05-01 14:39:00 +00:00
# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2016-01-10 01:34:32 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch and libgcc hack to fix ARM FTBFS
pkgname=tuxcmd
pkgver=0.6.70
2017-01-21 03:29:12 +00:00
pkgrel=7
2016-01-10 01:34:32 +00:00
pkgdesc='A GTK2 file manager with two panels'
arch=('i686' 'x86_64')
url='http://tuxcmd.sourceforge.net/'
license=('GPL')
2017-01-21 03:29:12 +00:00
depends=('gtk2')
makedepends=('fpc')
optdepends=('tuxcmd-modules: modules for tuxcmd')
2016-01-10 01:34:32 +00:00
options=('!docs' '!emptydirs')
2016-05-01 14:39:00 +00:00
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-dev-$pkgver/$pkgname-$pkgver.tar.bz2
2016-01-10 01:34:32 +00:00
'tuxcmd-arm-gcc_s.so-linking.patch')
2016-05-01 14:39:00 +00:00
sha256sums=('b9f924766f2b1770f5fddc2b2e79c6778b44606ea05c53c9ffd947436b0e41fb'
'8587f2258c12e0632458a3f86ecf6aaa5f9850979f33fd6e7d746353c2f87314')
2016-01-10 01:34:32 +00:00
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i ../tuxcmd-arm-gcc_s.so-linking.patch
ln -s /usr/lib/libgcc_s.so.1 libgcc_s.so
}
build() {
cd ${pkgname}-${pkgver}
make
}
package() {
cd ${pkgname}-${pkgver}
2016-05-01 14:39:00 +00:00
make DESTDIR="${pkgdir}"/usr install
2016-01-10 01:34:32 +00:00
2016-05-01 14:39:00 +00:00
# remove license and README file
rm -rf "${pkgdir}"/usr/share/doc/
2016-01-10 01:34:32 +00:00
}