summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1a6a0f23ec203ff596bd1672223750fadceed1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Anton Batenev <antonbatenev@yandex.ru>

pkgname=elfexec
pkgver=0.3
pkgrel=1
pkgdesc='Utility to execute ELF binary directly from stdin pipe'
arch=('i686' 'x86_64')
url='https://github.com/abbat/elfexec'
license=('BSD')
makedepends=('git')
source=("git+https://github.com/abbat/elfexec.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cd "${pkgname}"
    make
}

package() {
    cd "${pkgname}"

    install -D -m755 elfexec          "${pkgdir}/usr/bin/elfexec"
    install -D -m644 elfexec.1        "${pkgdir}/usr/share/man/man1/elfexec.1"
    install -D -m644 README.md        "${pkgdir}/usr/share/doc/${pkgname}/README.md"
    install -D -m644 debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}