blob: 621a78f33519cc9de205aded961d7882bd29c4b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Nico Rittstieg <nico dot rittstieg at gmx dot de>
pkgname=ntag
pkgver=1.2.15
pkgrel=1
pkgdesc="Audio file tag editor, created with JavaFX"
arch=('x86_64')
url="https://github.com/nrittsti/ntag"
license=('GPL3')
source=("https://github.com/nrittsti/ntag/releases/download/v${pkgver}/${pkgname}-${pkgver}-linux_bin.tar.gz")
sha256sums=('c6e06888330790d70783e02b7ea2624eb1a87fb3ac60a548bc89f14a89ad04b5')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -dm755 "${pkgdir}/opt/ntag/lib"
install -Dm644 lib/*.jar "${pkgdir}/opt/ntag/lib"
install -Dm644 *.{jar,png,txt,pdf,properties} "${pkgdir}/opt/ntag"
install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -dm755 "${pkgdir}/opt/ntag/jre"
cp -r --no-preserve=ownership --preserve=mode jre/* "$pkgdir"/opt/ntag/jre/
}
|