blob: d116b52eb86113f310589349934f9298d859f926 (
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
|
# Maintainer: Jakob Schöttl <jschoett gmail com>
# Maintainer: phi <phi at qgr dot se>
# Contributor: smlb <smlb at riseup dot net>
pkgname=dockd
pkgver=1.3
pkgrel=1
pkgdesc="Lenovo ThinkPad Dock Management Daemon"
arch=('i686' 'x86_64')
url="https://github.com/libthinkpad/dockd"
license=('BSD')
depends=('libthinkpad' 'libxrandr')
makedepends=('cmake')
source=("https://github.com/libthinkpad/dockd/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('38f09d34554154781c91d6f71d4e9812')
prepare() {
mkdir -p "$srcdir/$pkgname-$pkgver/etc"
}
build() {
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
install -Dm755 -d etc "$pkgdir/etc/$pkgname"
make DESTDIR=$pkgdir install
}
|