summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 46e97b9cf5a44f04a429634a9337945e3777aeb5 (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
49
50
51
52
53
54
55
56
57
58
# Maintainer: Barry <smithbarry at gmx com>
# Contributor: dmerej <d.merej@gmail.com>

pkgname=hollywood
pkgver=1.20
pkgrel=1

pkgdesc="Fill your console with Hollywood melodrama technobabble."

arch=('any')

url="https://launchpad.net/hollywood"
license=('Apache' 'Custom:CC0-1.0')

depends=(
  'apg'
  'bmon'
  'byobu'
  'ccze'
  'cmatrix'
  'coreutils'
  'gawk'
  'htop'
  'jp2a'
  'mlocate'
  'man-db'
  'moreutils'
  'mplayer'
  'openssh'
  'tree'
  'speedometer'
  'util-linux'
)

source=(
  "${pkgname}-${pkgver}.tar.gz::${url}/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz"
  "https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}-0ubuntu1.debian.tar.xz"
  "license.txt::https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt"
)

md5sums=(
  'a93bc2ffb978e5f1a41c9375fdeb00d2'
  '347c36aff263f3f84b6d1594b99c0a09'
  '65d3616852dbf7b1a6d4b53b00626032'
)

package() {
  # Install files
  install -dm0755 "$pkgdir/"{usr/bin,usr/lib/hollywood,usr/share/{licenses/hollywood,man/man1,hollywood}}
  install -m 0755 "$srcdir/$pkgname-$pkgver/bin/hollywood"  "$pkgdir/usr/bin"
  install -m 0755 "$srcdir/$pkgname-$pkgver/lib/hollywood/"* "$pkgdir/usr/lib/hollywood"
  install -m 0644 "$srcdir/$pkgname-$pkgver/share/hollywood/"*  "$pkgdir/usr/share/hollywood"
  install -m 0644 "$srcdir/$pkgname-$pkgver/"{README,ChangeLog}  "$pkgdir/usr/share/hollywood"
  install -m 0644 "$srcdir/$pkgname-$pkgver/share/man/man1/"*  "$pkgdir/usr/share/man/man1"
  # copyright and license
  install -m 0644 "$srcdir/debian/copyright" "$pkgdir/usr/share/licenses/hollywood/copyright"
  install -m 0644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/hollywood/license.txt"
}