summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 975d704458026d7592a7dd262f9ffa1d583488e6 (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
# Submitter: Jochum D, jooch (at) gmx (dot) com>
# Maintainer: Jochum D, jooch (at) gmx (dot) com>

pkgname=linux-ck-autobuild
pkgver=0.4.0
pkgrel=1
pkgdesc="A tool to automatically build ck kernels"
arch=('x86_64')
url="https://github.com/j00ch/linux-ck-autobuild"
license=('GPL3')
depends=('bash' 'zenity' 'zensu' 'grep' 'sed' 'nano' 'curl')
provides=("$pkgname")
source=("https://github.com/j00ch/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('797cf31b47531c73dae963b614261dd19862ea614e98a1ddf7a8ed6c0fa2a6e0')

package() {
  install -dm755 "$pkgdir/usr/bin"
  install -m755 "$pkgname-$pkgver/src/linux-ck-autobuild" "$pkgdir/usr/bin/linux-ck-autobuild"
  install -m755 "$pkgname-$pkgver/src/linux-ck-autobuild-daemon" "$pkgdir/usr/bin/linux-ck-autobuild-daemon"

  install -d "$pkgdir/etc/linux-ck-autobuild"
  install -m644 "$pkgname-$pkgver/src/linux-ck-autobuild-daemon.desktop" "$pkgdir/etc/linux-ck-autobuild/linux-ck-autobuild-daemon.desktop"
  
  install -d "$pkgdir/etc/linux-ck-autobuild"
  install -m644 "$pkgname-$pkgver/src/default.conf" "$pkgdir/etc/linux-ck-autobuild/default.conf"

  install -d "$pkgdir/etc/linux-ck-autobuild"
  install -m644 "$pkgname-$pkgver/src/subarches" "$pkgdir/etc/linux-ck-autobuild/subarches"

  install -d "$pkgdir/usr/lib/systemd/system"  
  install -Dm644 "$pkgname-$pkgver/src/linux-ck-autobuild@.service" "$pkgdir/usr/lib/systemd/system/linux-ck-autobuild@.service"
}