summaryrefslogtreecommitdiff
path: root/archlinux/PKGBUILD
blob: f670a58bf0926842550460d8e56733d43d8ff063 (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
_pkgname=vdrmanager
pkgname=vdr-plugin-$_pkgname
pkgver=0.7
pkgrel=1
revision=
arch=(i686 x86_64)
pkgdesc="VDR-Plugin that is required by the VDRManager Android-App"
url="http://projects.vdr-developer.org/projects/vdr-manager"
license="GPL"
makedepends=('vdr')
depends=('vdr')
backup=()
source=(http://projects.vdr-developer.org/projects/vdr-manager/repository/revisions/master/raw/release/vdr-${_pkgname}-${pkgver}.tar.gz)


md5sums=('92c1b8f65321b0fd88eb4473edb310cc')

build() {
  unset CXXFLAGS

  cd ${srcdir}/vdr-$_pkgname-${pkgver}

  mkdir -p $pkgdir/usr/lib/vdr/plugins/ || return 1

  make VDRDIR=/usr/include/vdr \
       LIBDIR=. \
       LOCALEDIR="$startdir/pkg/usr/share/locale/" all || return 1

  mkdir -p $pkgdir/usr/lib/vdr/plugins                                          || return 1
  install -m 755 libvdr-*.so.*          $pkgdir/usr/lib/vdr/plugins/            || return 1
  
  mkdir -p $pkgdir/etc/vdr/plugins/												|| return 1
  install -m 644 examples/plugin.vdrmanager.conf $pkgdir/etc/vdr/plugins/		|| return 1
  
}