blob: bd1d689636b965b50497997b3415cea9566488a9 (
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
|
# Maintainer: Merrick Luo <merrick@luois.me>
pkgname=iease-music
pkgver=1.3.4
pkgrel=1
pkgdesc='Elegant neteaseMusic desktop app, Rock with NeteaseMusic.'
arch=('x86_64')
url='https://github.com/trazyn/ieaseMusic'
license=('MIT')
depends=('gconf' 'libnotify' 'nss' 'libxss' 'libappindicator-gtk3' 'libxtst')
#makedepends=('git' 'wget' 'rpmextract')
options=()
_rpmname="ieaseMusic-${pkgver}-linux-x86_64.rpm"
#source=("git://github.com/trazyn/ieaseMusic.git")
source=("https://github.com/trazyn/ieaseMusic/releases/download/v${pkgver}/${_rpmname}")
sha1sums=('30a8711d2aad18e8f4c9f52d98efebbe6012387e')
install='iease-music.install'
#pkgver () {
# cd "$srcdir"/ieaseMusic
# git describe --tags `git rev-list --tags --max-count=1` | cut -c 2-
#}
package() {
# cd ${srcdir}
# _rpmname="ieaseMusic-${pkgver}-linux-x86_64.rpm"
# wget "$url/releases/download/v${pkgver}/${_rpmname}"
# rpmextract.sh ${_rpmname}
cp -r ${srcdir}/opt ${pkgdir}/
cp -r ${srcdir}/usr ${pkgdir}/
mkdir -p ${pkgdir}/usr/bin/
ln -s /opt/ieaseMusic/ieaseMusic ${pkgdir}/usr/bin/iease-music
}
|