Created
August 17, 2016 16:57
-
-
Save to266/fd9a9b1363bad4611f18263a1de33fbe to your computer and use it in GitHub Desktop.
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
From 81d19d38f1a0484464e853d48601efe9827cdb99 Mon Sep 17 00:00:00 2001 | |
From: Tomas Ostasevicius <t.ostasevicius@gmail.com> | |
Date: Wed, 17 Aug 2016 17:52:33 +0100 | |
Subject: [PATCH] test 32bit build | |
--- | |
PKGBUILD | 18 +++++++++--------- | |
1 file changed, 9 insertions(+), 9 deletions(-) | |
diff --git a/PKGBUILD b/PKGBUILD | |
index cc7c35a..749b7f1 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,32 +1,32 @@ | |
# Maintainer: Tomas Ostasevicius (aquarix) <t dot ostasevicius at gmail dot com> | |
pkgname=gitter | |
pkgver=3.1.0 | |
-pkgrel=1 | |
+pkgrel=0 | |
pkgdesc='Where developers come to talk' | |
url='https://gitter.im' | |
license=('unknown') | |
-arch=('x86_64') | |
+arch=('i686') | |
depends=('libsystemd' 'desktop-file-utils' 'gconf') | |
makedepends=('tar' 'binutils') | |
-source=("https://update.gitter.im/linux64/${pkgname}_${pkgver}_amd64.deb" | |
+source=("https://update.gitter.im/linux32/${pkgname}_${pkgver}_i386.deb" | |
gitter.sh) | |
-noextract=("${pkgname}_${pkgver}_amd64.deb") | |
+noextract=("${pkgname}_${pkgver}_i386.deb") | |
install='gitter.install' | |
-md5sums=('dcd92ad435c126c89b28089aec25fe94' | |
+md5sums=('84218f2b1850026f0ce9440ab74efd90' | |
'4ee1a1a85d4fd6fbaf0a16ffefd7d84d') | |
options=(!strip) | |
prepare() { | |
cd "$srcdir" | |
- ar x "${pkgname}_${pkgver}_amd64.deb" | |
+ ar x "${pkgname}_${pkgver}_i386.deb" | |
} | |
package() { | |
cd "$srcdir" | |
tar -C "$pkgdir" -xf data.tar.gz | |
mkdir -p "$pkgdir/opt/Gitter/lib" | |
- ln -sf /usr/lib64/libudev.so.1 "$pkgdir/opt/Gitter/lib/libudev.so.0" | |
+ ln -sf /usr/lib/libudev.so.1 "$pkgdir/opt/Gitter/lib/libudev.so.0" | |
install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname" | |
- RPM_BUILD_ROOT="$pkgdir" desktop-file-install "$pkgdir/opt/Gitter/linux64/gitter.desktop" | |
- sed -e 's#/opt/Gitter/linux64/Gitter#/usr/bin/gitter#' -i "$pkgdir/usr/share/applications/gitter.desktop" | |
+ RPM_BUILD_ROOT="$pkgdir" desktop-file-install "$pkgdir/opt/Gitter/linux32/gitter.desktop" | |
+ sed -e 's#/opt/Gitter/linux32/Gitter#/usr/bin/gitter#' -i "$pkgdir/usr/share/applications/gitter.desktop" | |
} | |
-- | |
2.9.3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment