blob: 5cd7bff5571e511afadff3ede77a914032265188 (
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
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Dylan Whichard <dylan at whichard dot com>
pkgname=mtx-svn
pkgver=r200
_distdir="mtx-code-${pkgver}-trunk-mtx"
pkgrel=7
pkgdesc="Tools used to view information about, and to control, Media Changer devices such as Tape and DVD/CD libraries."
arch=('armv6h' 'armv7h' 'aarch64' 'i486' 'i686' 'pentium4' 'x86_64')
url="https://sourceforge.net/projects/mtx/"
license=('GPL2')
provides=('mtx')
conflicts=('mtx')
_pinned_dependencies=(
'glibc>=2.31'
)
_pinned_dependencies_armv6h=(
'gcc-libs=10.2.0'
)
_pinned_dependencies_armv7h=(
'gcc-libs=10.2.0'
)
depends=("${_pinned_dependencies[@]}")
depends_armv6h=("${_pinned_dependencies_armv6h[@]}")
depends_armv7h=("${_pinned_dependencies_armv7h[@]}")
makedepends=('subversion')
source=("https://sourceforge.net/code-snapshots/svn/m/mt/mtx/code/${_distdir}.zip")
sha512sums=('cd7e1f1f003acf95e1bb55936180ba6da47d146ce6bd5f87c2ba5ca02779a4e187d1a1e903c36bc6725e6d29e14574cf427933127621d3f441c95fdeb29f9f2f')
prepare() {
sed -i '
s@ | armv\*-\*@ | aarch64-*\0@
' "${srcdir}/${_distdir}/config.sub"
}
build() {
cd "${srcdir}/${_distdir}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${_distdir}"
make prefix="$pkgdir/usr" sbindir="$pkgdir/usr/bin" mandir="$pkgdir/usr/share/man" install
}
# vim:set ts=2 sw=2 et:
|