blob: 578b91ac428d4f5e28efaf0eaaec0d658d25d90c (
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: Sam L. Yes <manjaroyes123@outlook.com>
pkgname=nextplayer-appimage
pkgver=1.7.6
pkgrel=1
pkgdesc="A blue-ray player for MacOS, Linux and FreeBSD, originally named TheNewPlayerFree."
arch=("x86_64")
url="https://sudormroot.github.io/nextplayer-project/"
license=("custom")
depends=('zlib' 'hicolor-icon-theme')
options=(!strip)
_filename="nextplayer-${pkgver}.AppImage"
provides=('nextplayer')
replaces=('thenewplayerfree-appimage' 'thenewplayerfree-bin')
source=("${_filename}::https://github.com/sudormroot/nextplayer-project/releases/download/nextplayer-bin.linux.1.7.6-1.amd64/nextplayer-bin.linux.1.7.6-1.amd64.AppImage")
noextract=(${_filename})
md5sums=('3c153963fca68be2690a87957aedd3e2')
_icon='/usr/share/icons/hicolor/256x256/apps/nextplayer.png'
_launcher='/usr/share/applications/nextplayer.desktop'
prepare() {
cd ${srcdir}
chmod +x ${_filename}
./${_filename} --appimage-extract
}
package() {
install -Dm755 ${_filename} "${pkgdir}/usr/bin/nextplayer"
install -Dm644 "squashfs-root/${_launcher}" "${pkgdir}/${_launcher}"
install -Dm644 "squashfs-root/opt/nextplayer/share/licenses/self/LICENSE" ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm644 "squashfs-root/${_icon}" "${pkgdir}/${_icon}"
}
|