diff options
author | Robin Broda | 2018-02-20 03:46:34 +0100 |
---|---|---|
committer | Robin Broda | 2018-02-20 03:47:05 +0100 |
commit | bfc376c28a104526a659328866e5aa89b75f9366 (patch) | |
tree | 5fec56988eac85fe1d8496e60accae1c2d5b8e72 | |
parent | b8d4411b0a96fecae05bdaff89c0e2259f43c5b1 (diff) | |
download | aur-bfc376c28a104526a659328866e5aa89b75f9366.tar.gz |
Remove insecure rpath from binary
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 3 deletions
@@ -1,13 +1,14 @@ pkgbase = bonzomatic-git pkgdesc = a live-coding tool where you can write a 2D fragment/pixel shader while it is running in the background pkgver = r284.362c1de - pkgrel = 1 + pkgrel = 2 url = https://github.com/Gargaj/bonzomatic arch = x86_64 license = custom:Unlicense makedepends = git makedepends = cmake makedepends = glu + makedepends = chrpath depends = xorg-server depends = libxrandr depends = libxinerama @@ -3,7 +3,7 @@ _pkgname="bonzomatic" pkgname=("${_pkgname}-git") pkgver=r284.362c1de -pkgrel=1 +pkgrel=2 pkgdesc='a live-coding tool where you can write a 2D fragment/pixel shader while it is running in the background' arch=('x86_64') url='https://github.com/Gargaj/bonzomatic' @@ -11,7 +11,7 @@ license=('custom:Unlicense') provides=('bonzomatic') conflicts=('bonzomatic') depends=('xorg-server' 'libxrandr' 'libxinerama' 'libxcursor' 'libbass') -makedepends=('git' 'cmake' 'glu') +makedepends=('git' 'cmake' 'glu' 'chrpath') source=('git+https://github.com/Gargaj/bonzomatic.git') md5sums=('SKIP') @@ -36,6 +36,9 @@ build() { package() { cd "${_pkgname}/build" + # Fix insecure rpath + chrpath -d Bonzomatic + install -Dm755 Bonzomatic "${pkgdir}/usr/bin/Bonzomatic" install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |