summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxgdgsc2016-01-05 21:47:26 +0800
committerxgdgsc2016-01-05 21:47:26 +0800
commitd15f64aab23a011304e8f2f457f1727ef81eaa65 (patch)
treefbef58a7e774a679a510733af06e4f0636930e22
parentf4e462f52a01bd67ececd177c7d9a65ca63952dc (diff)
downloadaur-d15f64aab23a011304e8f2f457f1727ef81eaa65.tar.gz
upg
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8f6549f35ea..8df6b5e2b6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Dec 20 03:06:27 UTC 2015
+# Tue Jan 5 13:47:19 UTC 2016
pkgbase = feeluown
pkgdesc = 个性化音乐服务 For Mac And Linux
- pkgver = 6.0a2
+ pkgver = 6.0release
pkgrel = 1
url = https://github.com/cosven/FeelUOwn
arch = any
@@ -18,8 +18,8 @@ pkgbase = feeluown
optdepends = vlc
provides = feeluown
conflicts = feeluown
- source = https://github.com/cosven/FeelUOwn/archive/v6.0a2.tar.gz
- md5sums = 3554d20731f8a5500d72254443706d91
+ source = https://github.com/cosven/FeelUOwn/archive/v6.0release.tar.gz
+ md5sums = 10a4d146b96a0dd256bc3fd3a05b521f
pkgname = feeluown
diff --git a/PKGBUILD b/PKGBUILD
index 3e69a85cbd7..c874f3b684a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: xgdgsc <xgdgsc at gmail dot com>
pkgname=feeluown
_pkgname=FeelUOwn
-pkgver=6.0a2
+pkgver=6.0release
pkgrel=1
pkgdesc="个性化音乐服务 For Mac And Linux"
arch=("any")
@@ -12,7 +12,7 @@ optdepends=('vlc')
provides=("feeluown")
conflicts=("feeluown")
source=("https://github.com/cosven/FeelUOwn/archive/v$pkgver.tar.gz")
-md5sums=('3554d20731f8a5500d72254443706d91')
+md5sums=('10a4d146b96a0dd256bc3fd3a05b521f')
_desktop="${_pkgname}.desktop"
build() {
@@ -35,22 +35,22 @@ DATA_PATH="\${HOME}/.${_pkgname}"
if [ ! -d \${DATA_PATH} ]; then
mkdir -p \${DATA_PATH}
fi
-python /usr/share/${pkgname}/src/main.py
+python /usr/share/${pkgname}/${pkgname}/main.py
EOF
# save login data to ~/.FeelUOwn
- cd "$srcdir/$_pkgname-$pkgver/src"
+ cd "$srcdir/$_pkgname-$pkgver/feeluown"
sed -i '2 i import os' constants.py
sed -i 's!^DATA_PATH.*$!DATA_PATH = os.path.join(os.path.expanduser("~"), ".FeelUOwn/")!g' constants.py
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
- find ./{src,icons} -type f -exec install -Dm644 {} \
+ find ./{feeluown,icons} -type f -exec install -Dm644 {} \
"${pkgdir}/usr/share/${pkgname}/{}" \;
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 "${srcdir}/${_desktop}" "${pkgdir}/usr/share/applications/${_desktop}"
- install -Dm755 "${srcdir}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
+ install -Dm644 "${srcdir}/$_pkgname-$pkgver/${_desktop}" "${pkgdir}/usr/share/applications/${_desktop}"
+ install -Dm755 "${srcdir}/$_pkgname-$pkgver/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
}