summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2020-01-22 10:00:28 +0000
committerEric Engestrom2020-01-22 10:00:28 +0000
commit532cb4fa9d586bc729275836020abd9ec3188ba2 (patch)
tree0e9926c7cccea48d331f70a8d1c807236c3a21a8
parent86e7236004d2dfd9f6010c3fe0ae605f464aa2fd (diff)
downloadaur-532cb4fa9d586bc729275836020abd9ec3188ba2.tar.gz
reset package files owner to `root` instead of the user that tar'ed up the archive at synopsys
-rw-r--r--PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0e61ce929fc7..aaa82d5d23f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,6 +25,7 @@ package() {
install -dm755 "${pkgdir}/opt/${pkgname}"
cd "${pkgdir}/opt/${pkgname}"
bsdtar --strip-components=2 -xf "${srcdir}/${_tarball}"
+ chown root: -R "${pkgdir}/opt/${pkgname}/"
cd "${srcdir}"
install -dm755 "${pkgdir}/etc/profile.d"