blob: 202b0787507043282326390c9d0745ea8b419c9d (
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
|
# Maintainer: Morten Jakobsen <morten@jakeobsen.com>
# Previous Maintainer: Thomas Gubler <thomasgubler@gmail.com>
pkgname=blabel
pkgver=1.03
pkgbuild=28
pkgrel=3
pkgdesc="A Linux labeling program for Brother P-touch series"
arch=('any')
url="https://apz.fi/$pkgname"
license=('PerlArtistic')
groups=('office')
depends=('perl-gtk3' 'pango-perl' 'perl-net-cups' 'perl-gd')
makedepends=()
optdepends=()
provides=('blabel')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=($url/src/$pkgname-v$pkgver-build-$pkgbuild.tar.bz2)
noextract=()
md5sums=('a2d2d7e292af7e5b8a09f50a30c57c32')
build() {
echo "Nothing to build"
}
package() {
cd "$srcdir"
sed -i 's/use utf8::all;/#use utf8::all;/' blabel
mkdir -p "${pkgdir}/usr/bin/"
mkdir -p "${pkgdir}/usr/share/pixmaps/"
mkdir -p "${pkgdir}/usr/share/applications/"
mkdir -p "${pkgdir}/usr/share/$pkgname"
mkdir -p "${pkgdir}/usr/share/man/man1"
cp "blabel" "${pkgdir}/usr/bin/"
cp "blabel-print" "${pkgdir}/usr/bin/"
cp "blabel.glade" "${pkgdir}/usr/share/$pkgname/"
cp "test-picture.png" "${pkgdir}/usr/share/$pkgname/"
cp "blabel.desktop" "${pkgdir}/usr/share/applications/"
cp "blabel.png" "${pkgdir}/usr/share/pixmaps/"
cp "man/man1/blabel.1.gz" "${pkgdir}/usr/share/man/man1"
cp "man/man1/blabel-print.1.gz" "${pkgdir}/usr/share/man/man1"
}
|