summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 5 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b47aa516f72..708ba7c079e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Jul 4 14:47:22 UTC 2016
+# Mon Oct 10 06:53:18 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
@@ -8,7 +8,7 @@ pkgbase = monoosc
arch = i686
arch = x86_64
license = GPL3
- makedepends = rpmextract
+ makedepends = bsdtar
depends = syntaxhighlighting
depends = monoobsframework
depends = rpmspecmanager
diff --git a/PKGBUILD b/PKGBUILD
index 9adf3eecdd1b..eec2c868d03c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,21 +6,16 @@ pkgrel=1
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."
url="monoosc.sourceforge.net"
-makedepends=('rpmextract')
+makedepends=('bsdtar')
depends=('syntaxhighlighting' 'monoobsframework' 'rpmspecmanager' 'wget' 'mono')
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() {
- cd $pkgdir
- rpmextract.sh $srcdir/MonoOSC-1.0.2.1-44.3.$_arch_.rpm
+ bsdtar -C "${pkgdir}" -xf "${srcdir}/MonoOSC-1.0.2.1-44.3.*.rpm"
}