blob: 23dd8ec240a6e52360d2a62b71d48f7220d338f2 (
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: Daniƫl Nazarkin <aur@danicatgames.nl>
pkgname=dankvideo-git
pkgver=r99.05840ee
pkgrel=1
pkgdesc="Fast, beautiful Material 3 Video Player built for Linux and the DankMaterialShell ecosystem, inspired by GNOME Showtime."
url="https://github.com/hthienloc/dankapps"
license=('MIT')
depends=('quickshell')
makedepends=('git' 'go' 'make')
arch=('x86_64')
provider=('dankvideo')
conflicts=('dankvideo')
source=("${pkgname}::git+https://github.com/hthienloc/dankapps.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "${pkgname}/dankvideo"
export GOPATH="${srcdir}/gopath"
export GOCACHE="${srcdir}/gocache"
make dev
}
package() {
cd "${srcdir}/${pkgname}/dankvideo"
install -Dm755 "core/bin/dplay" "${pkgdir}/usr/bin/dplay"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 distro/com.danklinux.dankvideo.desktop \
"${pkgdir}/usr/share/applications/com.danklinux.dankvideo.desktop"
install -d "${pkgdir}/usr/share/quickshell/dankvideo"
cp -rL quickshell/. "${pkgdir}/usr/share/quickshell/dankvideo"
}
|