summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f35ad4a1792467e1233212bb85516a32ecae1bea (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
33
34
# Maintainer: Timo Crabbé <timocrabbe@gmail.com>
pkgname=beidconnect
pkgver=2.10.8.gb44810e
pkgrel=1
pkgdesc="native messaging component for DSS signing services"
arch=('x86_64')
url="https://github.com/Fedict/fts-beidconnect"
license=('MIT')
#depends=('libpcsclite')  # Specify dependencies required at runtime
makedepends=('git' 'gcc' 'make' 'pkg-config')  # Build-time dependencies
source=("git+https://github.com/Fedict/fts-beidconnect.git")
install=beidconnect.install  # Link to the install script
sha256sums=('SKIP')


pkgver() {
    cd "$srcdir/fts-beidconnect"  # Navigate to the repository directory
    git describe --tags --always | sed 's/^v//;s/-/./g'
}

build() {
    cd "$srcdir/fts-beidconnect/linux"  # Navigate to the repository directory
    make
}

package() {
    cd "$srcdir/fts-beidconnect/linux"  # Navigate to the repository directory
    make DESTDIR="$pkgdir" install
}

clean() {
    cd "$srcdir/fts-beidconnect/linux"  # Navigate to the repository directory
    make clean
}