blob: dd8adb50f337c005cd8df48cd07f76f4a5d0b22f (
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
|
# Maintainer: Marcin Mielniczuk <marmistrz@inboxalias.com>
pkgname=arename
pkgver=4.1
pkgrel=1
pkgdesc="automatic audio file renaming tool"
arch=("any")
url="http://ft.bewatermyfriend.org/computer/arename.html"
depends=("perl-audio-scan" "perl-readonly")
source=("https://github.com/ft/$pkgname/archive/v$pkgver.zip")
sha256sums=("758343ed706c3e411609b74da92de40cd6821a36c7925380155b33aebbb8c8a6")
build() {
cd "$srcdir/$pkgname-$pkgver"
make genperlscripts
make doc
}
package() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p "$pkgdir"/usr
make install prefix="$pkgdir"/usr libpath=share/perl5/site_perl
make install-doc prefix="$pkgdir"/usr
}
# Commands present in the Ubuntu packaging, but I'm not sure if we should execute them
dummy() {
$(RM) "$pkgdir"/usr/share/doc/arename/CHANGES
$(RM) "$pkgdir"/usr/share/doc/arename/LICENCE
$(RM) "$pkgdir"/usr/share/doc/arename/README
$(RM) "$pkgdir"/usr/share/doc/arename/*.html
}
|