summaryrefslogtreecommitdiffstats
path: root/abs/extra/scanfw/PKGBUILD
blob: 21d4f29e83b90e5f790b275595647855885df2f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Michael Hanson <hansonorders@verizon.net>
pkgname=scanfw
pkgver=98d.beta
pkgrel=1
pkgdesc="A CCI scanner for MythTV"
arch=('i686')
url="https://help.ubuntu.com/community/MythTV_Firewire/scanfw"
license=('GPL2')
depends=('libraw1394' 'libiec61883' 'libavc1394')
install=scanfw.install
source=($pkgname-$pkgver.tar.gz)
md5sums=('8b1da4fca459062f366232a3de6c7775')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make || return 1
  mkdir -p "$pkgdir"/usr/bin
  mkdir -p "$pkgdir"/usr/share/doc/"$pkgname"
  cp "$srcdir"/"$pkgname"-"$pkgver"/scanfw "$pkgdir"/usr/bin/ || return 1
  cp "$srcdir"/"$pkgname"-"$pkgver"/mythtv.firewire.channels.pl "$pkgdir"/usr/bin/ || return 1
  cp "$srcdir"/"$pkgname"-"$pkgver"/SCAN_TIPS "$pkgdir"/usr/share/doc/"$pkgname" || return 1
  cp "$srcdir"/"$pkgname"-"$pkgver"/README "$pkgdir"/usr/share/doc/"$pkgname" || return 1
}