public
Last active

marlin-bin PKGBUILD with amd64 and i686 support, as well as proper variable usage.

  • Download Gist
PKGBUILD
Shell
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
# Contributor Madek <gonzaloseguel@gmail.com>
 
pkgname=marlin-bin
pkgver=0.1.0~397
pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="Marlin File Manager"
url="http://launchpad.net/marlin"
license=('GPL')
depends=('gtk3' 'libgee' 'glib2' 'cairo' 'taskview-git' 'libnotify')
makedepends=('deb2targz')
conflicts=(marlin-bzr)
if test "$CARCH" == i686; then
source=(https://launchpad.net/~elementaryart/+archive/elementary-dev/+files/marlin_${pkgver}~oneiric1_i386.deb)
md5sums=('')
_arch='i386'
fi
if test "$CARCH" == x86_64; then
source=(https://launchpad.net/~elementaryart/+archive/elementary-dev/+files/marlin_${pkgver}~oneiric1_amd64.deb)
md5sums=('')
_arch='amd64'
fi
 
build() {
deb2targz marlin_${pkgver}~oneiric1_${_arch}.deb
tar xzf marlin_${pkgver}~oneiric1_${_arch}.tar.gz
cp -R usr/ ${pkgdir}/usr
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.