summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPival812016-10-10 08:57:06 +0200
committerPival812016-10-10 08:57:06 +0200
commitb44dd02897b2451388f886d3518fa5d8db155c4c (patch)
tree8712d1b05473f07a031b5916c7f4e3932ebadb79
parentb23de560cd9ef362dafcd3b4d008c07844da26ca (diff)
downloadaur-monoosc.tar.gz
yet another commit
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c512905d701..8800cd92d94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Oct 10 06:55:04 UTC 2016
+# Mon Oct 10 06:57:05 UTC 2016
pkgbase = monoosc
pkgdesc = MonoOSC is a project in two part, a library write in CSharp (C#) to use the OpenSuse Build Service (OBS) planed to propose at MonoDevelop team and a second part will be a nice GUI who use the library.
pkgver = 1.0.2
diff --git a/PKGBUILD b/PKGBUILD
index 0cee875718c..1e0f026feec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,10 +11,14 @@ arch=('i686' 'x86_64')
license=('GPL3')
source_x86_64=("http://download.opensuse.org/repositories/home:/surfzoid/Fedora_20/x86_64/MonoOSC-1.0.2.1-44.3.x86_64.rpm")
source_i386=("http://download.opensuse.org/repositories/home:/surfzoid/Fedora_20/i686/MonoOSC-1.0.2.1-44.3.i686.rpm")
-
+if test "$CARCH" == x86_64; then
+ _arch_=x86_64
+else
+ _arch_=i686
+fi
md5sums_x86_64=("0a1ce6559f401228d3107be2a6579f6f")
md5sums_i386=("66c75626571a4a2de9637e2a2549f3c6")
package() {
- bsdtar -C "${pkgdir}" -xf "${srcdir}/MonoOSC-1.0.2.1-44.3.*.rpm"
+ bsdtar -C "${pkgdir}" -xf "${srcdir}/MonoOSC-1.0.2.1-44.3.${_arch_}.rpm"
}