blob: 7fcf528efc997453a8e67f8d7fcfe0dbdd7c9552 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Simone Cimarelli <aquilairreale@ymail.com>
pkgname=donut
pkgver=1.0
pkgrel=1
pkgdesc='x86, x64, or AMD64+x86 position-independent shellcode generator'
arch=('x86_64')
url='https://github.com/TheWover/donut'
license=('BSD')
source=("https://github.com/TheWover/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('417278fedcff947462cec3988877b62116cdc98589f4b955827d47039288dcf84ce1fa8e1d18187b99ceeabc0f10924500c77d3728311166599b49d8f6eb151f')
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
install -Dm644 "lib/lib$pkgname.a" "$pkgdir/usr/lib/lib$pkgname.a"
install -Dm755 "lib/lib$pkgname.so" "$pkgdir/usr/lib/lib$pkgname.so"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|