blob: f0ee5fab45ea9620b4305179ac0b71a085035f2a (
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: Ciptik <stepan.ciptik@yandex.ru>
# Contributor: AGLExport <https://github.com/AGLExport>
pkgname=drm-lease-manager-git
pkgver=r1.0.1.0
pkgrel=1
pkgdesc="DRM Lease Manager"
arch=('x86_64')
url="https://github.com/AGLExport/drm-lease-manager"
license=('Apache-2.0')
depends=('libdlmclient-git' 'tomlc99-git' 'libdrm')
makedepends=('git' 'meson' 'ninja' 'doxygen')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!debug')
source=("${pkgname}::git+https://github.com/AGLExport/drm-lease-manager.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/${pkgname}"
arch-meson build --prefix=/usr -Druntime_subdir=/var/run/drm-lease-manager
ninja -C build
}
package() {
cd "$srcdir/${pkgname}/build"
install -Dm755 drm-lease-manager/drm-lease-manager -t "$pkgdir/usr/bin"
install -Dm644 "$srcdir/${pkgname}/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
}
|