summaryrefslogtreecommitdiff
path: root/pcr/realtimeconfigquickscan-git/PKGBUILD
blob: 092f8bee680a3232a1546280ad196f842dbdbe28 (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
41
42
43
44
45
46
47
# Maintainer (AUR): CrocoDuck <crocoduck dot oducks at gmail dot com>
# Contributor (AUR): Giancarlo Bianchi <giancarlobianchi76@gmail.com>
# Contributor: André Silva <emulatorman@hyperbola.info>

# parabola changes and rationale:
#  no changes.

pkgname=realtimeconfigquickscan-git
pkgver=r22.29f3a19
pkgrel=1
pkgdesc="Linux configuration checker for systems to be used for real-time audio"
arch=('any')
url="https://github.com/raboof/realtimeconfigquickscan"
license=('GPL')
depends=('perl-tk')
makedepends=('git')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}"::"git://github.com/raboof/realtimeconfigquickscan"
        'realTimeConfigQuickScan'
        'QuickScan')
md5sums=('SKIP' '9ba860e66b4c53868fa874a4e00aba0f' 'fab72296c27305b0c8c36b6f88efa36b')

pkgver() {
  cd "${pkgname%-*}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd ${pkgname%-*}
  # Install Script Files:
  # *.pm files
  for i in *.pm; do
	install -Dm 755 "$i" "$pkgdir/usr/share/${pkgname%-*}/$i"
  done
  # *.pl files
  for i in *.pl; do
    	install -Dm 755 "$i" "$pkgdir/usr/share/${pkgname%-*}/$i"
  done
  # Install doc files:
  install -D COPYING  "$pkgdir/usr/share/doc/${pkgname%-*}/COPYING"
  install -D README.md  "$pkgdir/usr/share/doc/${pkgname%-*}/README.md"
  # Install Executable scripts:
  cd "$srcdir"
  install -Dm 755 realTimeConfigQuickScan "$pkgdir/usr/bin/realTimeConfigQuickScan"
  install -Dm 755 QuickScan "$pkgdir/usr/bin/QuickScan"
}