Skip to content

Instantly share code, notes, and snippets.

@Narrat
Created March 26, 2016 22:17
Show Gist options
  • Save Narrat/852677c5e892a9c7238b to your computer and use it in GitHub Desktop.
Save Narrat/852677c5e892a9c7238b to your computer and use it in GitHub Desktop.
Architecture dependant stuff
diff --git a/PKGBUILD b/PKGBUILD
index cea45f6..ecffb39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,18 +27,15 @@ makedepends=('imagemagick')
optdepends=('gzip' 'bzip2' 'flac' 'sox' 'mpg123' 'vorbis-tools')
provides=('baudline')
install=baudline-bin.install
-source=("http://www.baudline.com/${pkgname/-bin/}_${pkgver}_linux_${CARCH}.tar.gz"
- "${pkgname/-bin/}.desktop"
+source=("${pkgname/-bin/}.desktop"
"${pkgname/-bin/}_jack.desktop")
-
-md5sums=('a400669fe11e5189e5d9d9db18dae70d'
- 'd334c058230811a402104f75afcfaeed'
+source_i686=("http://www.baudline.com/${pkgname/-bin/}_${pkgver}_linux_i686.tar.gz")
+source_x86_64=("http://www.baudline.com/${pkgname/-bin/}_${pkgver}_linux_x86_46.tar.gz")
+md5sums=('d334c058230811a402104f75afcfaeed'
'2c1ff5a60782815167bb43e735305e0e')
+md5sums_i686=('a400669fe11e5189e5d9d9db18dae70d')
+md5sums_x86_64=('8ca7a48c17d4826f2a634ffe5137811e')
-[ "${CARCH}" == "x86_64" ] && \
-md5sums=('8ca7a48c17d4826f2a634ffe5137811e'
- 'd334c058230811a402104f75afcfaeed'
- '2c1ff5a60782815167bb43e735305e0e')
package() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment