summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d6804ca738698face5a02287522b74e791fe9ac (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
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]

# Maintainer: Manuel Reimer <manuel.reimer@gmx.de>
pkgname=boblight
pkgver=2.1.0
pkgrel=1
epoch=1
pkgdesc="Collection of tools for driving lights connected to an external controller"
url="https://github.com/vdr-projects/boblight/"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL-3.0-or-later')
depends=('libusb' 'libxext' 'libxrender' 'mesa' 'portaudio')
source=("$pkgname-$pkgver.tar.gz::https://github.com/vdr-projects/boblight/archive/refs/tags/$pkgver.tar.gz"
        "$pkgname.service")
sha256sums=('c2a8d1638c80a941f05d63ce131c58e66033e1918f988dc8f4288d30d7066f9d'
            'cef865304a0819fe38e1dc0cc739da20e97da121bfc0c91f98e92b2a21998468')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr \
              --disable-static
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="${pkgdir}" install
  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
}