mirror of
https://github.com/archlinux/aur.git
synced 2026-02-03 13:59:12 +01:00
initial commit
This commit is contained in:
commit
e8d876d8e2
2 changed files with 45 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pkgbase = mpv-modernx
|
||||
pkgdesc = A fork of modernX (based on mpv-osc-modern), that aims to mirror the functionality of MPV's stock OSC while with a more modern-looking interface.
|
||||
pkgver = 0.4.5
|
||||
pkgrel = 1
|
||||
url = https://github.com/zydezu/ModernX
|
||||
arch = any
|
||||
license = unknown
|
||||
depends = mpv
|
||||
optdepends = yt-dlp: for downloading videos
|
||||
optdepends = ffmpeg: for downloading videos
|
||||
optdepends = mpv-thumbfast-git: for thumbnails
|
||||
conflicts = mpv-modernx-git
|
||||
source = ModernX-0.4.5.tar.gz::https://github.com/zydezu/ModernX/archive/refs/tags/0.4.5.tar.gz
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = mpv-modernx
|
||||
29
PKGBUILD
Normal file
29
PKGBUILD
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: soymadip
|
||||
pkgname=mpv-modernx
|
||||
_pkgname=ModernX
|
||||
pkgver=0.4.5
|
||||
pkgrel=1
|
||||
pkgdesc="A fork of modernX (based on mpv-osc-modern), that aims to mirror the functionality of MPV's stock OSC while with a more modern-looking interface."
|
||||
arch=('any')
|
||||
url="https://github.com/zydezu/ModernX"
|
||||
license=('unknown')
|
||||
depends=('mpv')
|
||||
optdepends=('yt-dlp: for downloading videos'
|
||||
'ffmpeg: for downloading videos'
|
||||
'mpv-thumbfast-git: for thumbnails')
|
||||
conflicts=("${pkgname}-git")
|
||||
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/zydezu/${_pkgname}/archive/refs/tags/${pkgver}.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
package() {
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
|
||||
# Install the script
|
||||
install -Dm644 modernx.lua "$pkgdir/usr/share/mpv/scripts/modernx.lua"
|
||||
|
||||
# Install the font
|
||||
install -Dm644 fluent-system-icons.ttf "$pkgdir/usr/share/fonts/TTF/fluent-system-icons.ttf"
|
||||
|
||||
# Install README and assets
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue