blob: 9705915f0f3a57970dbf3c7e5b93f4331a10a03f (
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
|
# Maintainer: kpj <kpjkpjkpjkpjkpjkpj@gmail.com>
# Contributor: kpj <kpjkpjkpjkpjkpjkpj@gmail.com>
pkgname=lapdog
pkgver=1.0
pkgrel=1
pkgdesc='Take actions when specific devices appear/disappear from your LAN'
arch=('i686' 'x86_64')
url='https://github.com/ltworf/lapdog'
license=('GPL')
depends=('liboping')
makedepends=('cmake')
source=('git+https://github.com/ltworf/lapdog.git')
sha1sums=('SKIP')
prepare() {
cd "${srcdir}/${pkgname}"
patch < ../../cmake_path.diff
}
build() {
cd "${srcdir}"
mkdir -p _build && cd _build
cmake -DCMAKE_INSTALL_PREFIX=/usr "../${pkgname}"
make
}
package() {
cd "${srcdir}/_build"
make DESTDIR="${pkgdir}" install
}
|