blob: 52e240d0a5acab83219e9c50ac642f853ce3049b (
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: Antonio Bartalesi <antonio.bartalesi@gmail.com>
pkgname=tango-accesscontrol
_pkgname=TangoAccessControl
pkgver=2.20
_pkgver=${_pkgname}-Release-${pkgver}
pkgrel=1
groups=('tango-controls')
pkgdesc="combined from svn/TangoAccessControl and svn/TangoAccessControl/AbstractClasses"
arch=('x86_64')
url="https://gitlab.com/tango-controls/${_pkgname}"
license=('GPL3')
depends=('tango-cpp' 'tango-database')
source=(
"https://gitlab.com/tango-controls/${_pkgname}/-/archive/${_pkgver}/${_pkgname}-${_pkgver}.tar.gz"
tango-access.service
)
sha256sums=(
'5ee39b580971a541f4dcc317cf69125fbecfd206a5b8b6544e1314e6bc914ee6'
'883e32ba0309313d0929a329d11b2843c7dee018aa71d4c316779f0888fa4c48'
)
build() {
cmake -B bld -S "${_pkgname}-${_pkgver}/${_pkgname}" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
cmake --build bld
}
package() {
DESTDIR="${pkgdir}" cmake --install bld
install -Dm 644 tango-access.service ${pkgdir}/usr/lib/systemd/system/tango-access.service
}
|