summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9686bb5be1548888b1fb5b3e4fdc743186e9f437 (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
35
36
37
38
39
40
# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)

pkgname=phc-intel
groups=(
  'linux-phc'
  'phc-intel'
)
epoch=1
pkgver=0.3.2
pkgrel=4
pkgdesc="Meta package that depends on phc intel kernel driver, helper script and initscript."
url="https://gitlab.com/linux-phc/phc-intel"
arch=('any')
license=('custom: public domain')
depends=(
  'PHC-INTEL-MODULE'
  'phc-intel-scripts'
  'PHC-INTEL-INITSCRIPT'
)
makedepends=()
optdepends=()
provides=(
  'linux-phc'
)
conflicts=()
source=(
  'license.dummypackage.txt'
)
sha256sums=(
  '0e0aeb02347977abaa12efcbd9ccfe4d69b9cdf60868c60eb3dda4f1c38b93cd' # license.dummypackage.txt
)

pkgver() {
  # Set version to be the same as the installed package `PHC-INTEL-MODULE`:
  pacman -Q PHC-INTEL-MODULE | sort | head -n1 | awk '{print $2}' | awk -F- '{print $1}'
}

package() {
  install -Dvm644 "${srcdir}/license.dummypackage.txt"  "${pkgdir}/usr/share/licenses/${pkgname}/license.dummypackage.txt"
}