Created
July 9, 2011 05:25
-
-
Save WhyNotHugo/1073352 to your computer and use it in GitHub Desktop.
marlin-bin PKGBUILD with amd64 and i686 support, as well as proper variable usage.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment