blob: beadcda0e5ecc8c6479f0153e3746a364d98e104 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=unmakeself
pkgver=1.1
pkgrel=0
pkgdesc="Makeself archive extractor"
arch=('x86_64')
url="https://www.freshports.org/archivers/unmakeself"
license=('BSD')
makedepends=()
depends=(libarchive)
source=(
"unmakeself.c::https://cgit.freebsd.org/ports/plain/archivers/unmakeself/files/unmakeself.c?id=840ecf7efb078240a95c3a107c8f970d15d2482b"
)
sha384sums=('84db14f050c8f40a2d43d396fe20dcd2d10fd91058f293fc26cb66cbc4f0bd64d527171dbf254c2973e7e163b250c5a2')
build() {
cp ../config.h .
cc -D_GNU_SOURCE=1 $(pkg-config --cflags --libs libarchive) -Wall -Wextra -o unmakeself unmakeself.c
}
package() {
install -D -m755 unmakeself -t "$pkgdir/usr/bin/"
}
|