diff options
author | slawekwaga | 2023-07-11 11:52:12 +0200 |
---|---|---|
committer | slawekwaga | 2023-07-11 11:52:12 +0200 |
commit | 3e7cf659971bf23c3b65c2c9ddd01f542f9167b3 (patch) | |
tree | 178ec1796218f63f02225eac4ef7e7e91e698b57 /PKGBUILD | |
download | aur-3e7cf659971bf23c3b65c2c9ddd01f542f9167b3.tar.gz |
Rename did not work. Create a new package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1481bbaf2d19 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Jonathan Eyolfson <jon@eyl.io> +pkgname=dynamorio-bin +pkgver=9.0.1 +pkgrel=1 +pkgdesc="A dynamic binary instrumentation framework" +url="http://dynamorio.org" +arch=('x86_64' 'i686') +license=('BSD') +depends=() +optdepends=() +makedepends=() +conflicts=() +replaces=() +backup=() +source=("https://github.com/DynamoRIO/dynamorio/releases/download/release_${pkgver}/DynamoRIO-Linux-${pkgver}.tar.gz") +sha256sums=('90452768bda1ee9f123f86a916ecb0a442c59bade36d999de73f759c4f79e6e7') + +package() { + cd "${srcdir}/DynamoRIO-Linux-${pkgver}" + install -d "${pkgdir}/usr/share/licenses/${pkgname}" + mv License.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + install -d "${pkgdir}/opt/dynamorio" + cp -a * ${pkgdir}/opt/dynamorio + + find ${pkgdir}/opt/dynamorio/ -type f -executable -exec chmod 755 {} \; + find ${pkgdir}/opt/dynamorio/ -type f -not -executable -exec chmod 644 {} \; + find ${pkgdir}/opt/dynamorio/ -type d -exec chmod 755 {} \; +} |