summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7b025b8c221eda0b5bdaa16e4c010a34e3539df (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
# Maintainer: WebMast lbhnik12@gmail.com
pkgname=musm
pkgver=1.0
pkgrel=1
pkgdesc="A simple music player with minimal UI"
arch=('x86_64')
url="https://github.com/walmstudio/musm"
license=('GPL')
depends=('mpv' 'ffmpeg')
source=("https://github.com/walmstudio/musm/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('SKIP') # Замените на реальную сумму, если нужно

package() {
  cd "$srcdir/$pkgname-$pkgver"

  if [ -d bin ]; then
    install -dm755 "$pkgdir/usr/bin"
    install -m755 bin/* "$pkgdir/usr/bin/"
  fi

  if [ -d share ]; then
    install -dm755 "$pkgdir/usr/share"
    cp -a share/* "$pkgdir/usr/share/"
  fi

}