summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1cbe09dbde49ffab6c0eb72031bcf450601c39a2 (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
# Maintainer: Raymo111 <aur@raymond.li>
# Contributor: Barry <brrtsm at gmail . com>
# Contributor: dmerej <d.merej@gmail.com>

pkgname=hollywood
pkgver=1.21
pkgrel=7

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

arch=('any')

url="https://github.com/dustinkirkland/hollywood"
license=('Apache' 'Custom:CC0-1.0')

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

source=(
	"${pkgname}-${pkgver}.tar.gz::https://launchpad.net/hollywood/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz"
	"license.txt"
)

sha256sums=('793ef1f022b376e131c75e05ff1b55a010c0f4193225bb79018855cb9ab89acb'
            'a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499')

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"
	# License
	install -m 0644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/hollywood/license.txt"
}