blob: 8dc6e30ed2b29d974675c7e975ab6c044fa1506f (
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
|
# Maintainer: Filip Markovic <f12markovic at gmail dot com>
_pkgname="nmcurse"
pkgname="$_pkgname-git"
pkgver=8.3501282
pkgrel=1
pkgdesc="Curses interface for NetworkManager"
arch=(x86_64 aarch64)
url="https://github.com/vilari-mickopf/$_pkgname"
depends=('git' 'make' 'cmake' 'networkmanager')
license=('MIT')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("${_pkgname}::git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
mkdir -p build && cd build
cmake ..
make -j
}
package() {
cd "$srcdir/${_pkgname}/build"
make DESTDIR="$pkgdir" install
}
|