blob: f01c776f33d55782af2e4aaa266b1aceccb839a9 (
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
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: ezzetabi <ezzetabi@gawab.com>
# Contributor: Sebastian Schwarz <seschwar@gmail.com>
pkgname=mirage2iso
pkgver=0.4.2
pkgrel=1
pkgdesc="libmirage-based CD/DVD image file converter"
arch=(i686 x86_64)
url="https://github.com/mgorny/mirage2iso"
license=(custom:BSD3)
depends=(libassuan libmirage)
source=("https://github.com/mgorny/mirage2iso/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
"https://github.com/mgorny/mirage2iso/releases/download/v${pkgver}/${pkgname}-${pkgver}-tests.tar.xz")
noextract=(${pkgname}-${pkgver}-tests.tar.xz)
sha256sums=('f92af1737a7d5756a76d6ccf4a2b7ed922d271eb0ce01e4e32efc5516638d30d'
'2823fde4cb108e1bc95e2e3d3b4612e5d3a8d51825b7dbc1a556177eeb7bb340')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
bsdtar xf "${srcdir}/${pkgname}-${pkgver}-tests.tar.xz" --strip-components 1
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make -k check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.txt"
}
|