summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2019-08-31 11:41:59 +0100
committerEric Engestrom2019-08-31 11:41:59 +0100
commitdc5481404ef302bf950d636e1c2bc0025d186424 (patch)
tree68d0c2c012bfd1a53b824b7187e3f6a1e18fc65e
parentab9463157f264e508468545b4129f0ab905dfd82 (diff)
downloadaur-dc5481404ef302bf950d636e1c2bc0025d186424.tar.gz
fix package
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD16
2 files changed, 3 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a57576eba14b..2356d3855e5a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,6 @@ pkgbase = dtrace-utils-devel
url = https://github.com/oracle/dtrace-utils/
arch = x86_64
license = GPL
- makedepends = rpmextract
makedepends = rsync
source = http://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/x86_64/getPackage/dtrace-utils-devel-1.2.1-1.el7.x86_64.rpm
md5sums = 832eb0681c58fa59eb435a9bd82c055d
diff --git a/PKGBUILD b/PKGBUILD
index 5043dfbea9ad..d5095764cb86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,22 +6,12 @@ pkgdesc="DTrace-utils contains the Userspace portion of the DTrace port to Linux
arch=('x86_64')
url="https://github.com/oracle/dtrace-utils/"
license=('GPL')
-makedepends=(
- 'rpmextract'
- 'rsync'
-)
+makedepends=('rsync')
source=("http://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/x86_64/getPackage/dtrace-utils-devel-1.2.1-1.el7.x86_64.rpm")
md5sums=('832eb0681c58fa59eb435a9bd82c055d')
-build() {
- cd "$srcdir"
- rpmextract.sh ../"dtrace-utils-devel-1.2.1-1.el7.x86_64.rpm"
-}
-
package() {
- cd "$srcdir"
- rsync -ruDq $srcdir/usr $pkgdir
- cd "$pkgdir"
- mv usr/lib64 usr/lib
+ rsync -ruDq "$srcdir/usr" "$pkgdir"
+ mv "$pkgdir"/usr/lib{64,}
}