summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a95ac41a05ab17495d6b22711daffd8cf4cc6eb (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
pkgname=mentohust-git
pkgver=fd0da07
pkgrel=1
pkgdesc="A Ruijie V4 supplicant on Linux and MacOS"
arch=('i686' 'x86_64')
license=('GPL')
url="https://github.com/hyrathb/mentohust"
depends=('libpcap')
optdepends=('libnotify')
source=('git://github.com/hyrathb/mentohust.git')
sha256sums=('SKIP')
install=$pkgname.install

build()
{
    cd mentohust
    ./autogen.sh
    ./configure
    make
}

pkgver() {
    cd mentohust
    printf "%s" "$(git describe --always | sed 's/-/_/g')"
}

package()
{
    cd mentohust
    make install DESTDIR="${pkgdir}"
}