blob: eea060c199fb569cdcb90f2bff70e207832e1575 (
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
27
28
29
30
31
32
33
|
# Maintainer: Ferdinand B <theferdi265@gmail.com>
pkgname=pipectl-git
pkgver=0.5.1.r0.g7ce7457
pkgrel=1
pkgdesc="a simple named pipe management utility (git version)"
url="https://github.com/Ferdi265/pipectl"
arch=('i686' 'x86_64')
license=('GPL3')
provides=("pipectl=${pkgver%%.r*}")
conflicts=('pipectl')
depends=()
makedepends=('git' 'cmake' 'ninja' 'scdoc')
source=(
"git+https://github.com/Ferdi265/pipectl"
)
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/pipectl"
git describe --long --tags | sed -r 's/^v//g;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cmake -G Ninja -B build -S "$srcdir/pipectl" \
-DINSTALL_DOCUMENTATION=ON \
-DCMAKE_INSTALL_PREFIX=/usr
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
|