blob: 261f0bc29ce163c666f64c85885db0bbc543ed8a (
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
48
49
50
51
|
# Maintainer (Arch): Giancarlo Bianchi <giancarlobianchi76@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=realtimeconfigquickscan-git
pkgver=r16.c362fbb
pkgrel=1
pkgdesc="Inspect a GNU/Linux system configuration and make suggestions for improving realtime performance"
arch=('any')
url="https://github.com/raboof/realtimeconfigquickscan"
license=('GPL')
depends=('jack' 'perl' 'perl-tk')
makedepends=('git')
conflicts=('realtimeconfigquickscan' 'realtimeconfigquickscan-hg')
source=(git+https://github.com/raboof/realtimeconfigquickscan.git)
md5sums=('SKIP')
pkgver() {
cd realtimeconfigquickscan
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd realtimeconfigquickscan
install -dm 0755 "$pkgdir/usr/share/$pkgname"
install -dm 0755 "$pkgdir/usr/bin/"
# Data files
for i in *; do
install -m 0644 "$i" "$pkgdir/usr/share/$pkgname/$i"
done
# Bin1
cat << EOF > "$pkgdir/usr/bin/realTimeConfigQuickScan"
#!/bin/bash
set -e
cd /usr/share/$pkgname
exec perl realTimeConfigQuickScan.pl
EOF
chmod 755 "$pkgdir/usr/bin/realTimeConfigQuickScan"
# Bin2
cat << EOF > "$pkgdir/usr/bin/QuickScan"
#!/bin/bash
set -e
cd /usr/share/$pkgname
exec perl QuickScan.pl
EOF
chmod 755 "$pkgdir/usr/bin/QuickScan"
}
|