summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ff997af7da3f148d9c28f4fab4711811a475a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname='pipexec'
pkgver=2.6.2
pkgrel=1
pkgdesc='Connector of arbitrary file descriptors'
arch=('i686' 'x86_64')
url="https://github.com/flonatel/pipexec"
license=('GPL2')
source=("https://github.com/flonatel/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('d3ba6802a9dc4e5f336e840958c4ddaf3de427fa70a62430688c91e4d46e3d1d')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure --prefix=/usr --disable-static
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="$pkgdir" install
    install -D -m 0644 doc/man/peet.1    "${pkgdir}/usr/share/man/man1/peet.1"
    install -D -m 0644 doc/man/pipexec.1 "${pkgdir}/usr/share/man/man1/pipexec.1"
    install -D -m 0644 doc/man/ptee.1    "${pkgdir}/usr/share/man/man1/ptee.1"
}