blob: b9ddbe89c2f09c61ff246e31b116a39e2f03bcb1 (
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
|
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgbase=vdr-epg-daemon
pkgname=('epgd' 'mariadb-epglv')
pkgver=1.3.29
pkgrel=1
url='https://github.com/horchi/vdr-epg-daemon'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
makedepends=('curl' 'imlib2' 'jansson' 'libarchive' 'libjpeg' 'libmariadbclient' 'libmicrohttpd' 'libxslt' 'python')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/horchi/vdr-epg-daemon/archive/refs/tags/$pkgver.tar.gz"
"$pkgbase-eloAlways-not-declared.patch::https://github.com/horchi/vdr-epg-daemon/compare/fb049718...7b81d71f.patch"
)
sha256sums=('735adc4610af68b35cf3b8a54559ac8d79de28ac1373b0630f3def659d190f35'
'2ab7f85d6f86ad0efc9b223d5807900186e56aa910921a83964dfcccd459363f')
prepare() {
cd "$srcdir/$pkgbase-$pkgver"
patch -p1 -i "$srcdir/$pkgbase-eloAlways-not-declared.patch"
}
build() {
cd "$srcdir/$pkgbase-$pkgver"
make -j1 PREFIX=/usr
}
package_epgd() {
pkgdesc='write epg data to a mysql database'
depends=('curl' 'imlib2' 'jansson' 'libarchive' 'libmariadbclient' 'libmicrohttpd' 'libxslt' 'python' 'perl')
cd "$srcdir/$pkgbase-$pkgver"
make -j1 PREFIX=/usr SYSTEMDDEST="$pkgdir/usr/lib/systemd/system" DESTDIR="$pkgdir" install
rm "$pkgdir/usr/lib/mysql/plugin/mysqlepglv.so"
cd $pkgdir
backup=($(find etc -type f))
}
package_mariadb-epglv() {
pkgdesc='epglv plugin for mysql/mariadb'
depends=('libmariadbclient')
backup=("usr/lib/mysql/plugin/mysqlepglv.so")
install='mariadb-epglv.install'
cd "$srcdir/$pkgbase-$pkgver"
install -Dm755 epglv/mysqlepglv.so "$pkgdir/$(mysql_config --plugindir)/mysqlepglv.so"
}
|