summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Sarboni2015-12-18 03:30:19 +0100
committerThomas Sarboni2015-12-18 03:30:19 +0100
commit90419757c28e66848a465c5ada06854d11a3e500 (patch)
tree7a9a1be673283fcfd2c5b9fcb1a4acf494ad19c1
parentf04f4a98dcce4c9cbf0a8543a0fa62536792ad3c (diff)
downloadaur-90419757c28e66848a465c5ada06854d11a3e500.tar.gz
All depencies now shipped in archive
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9a2af8b56ed7..aa9fe798838f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Dec 18 01:07:16 UTC 2015
+# Fri Dec 18 02:28:28 UTC 2015
pkgbase = ampache
pkgdesc = A PHP-based tool for managing and playing your audio/video files via a web interface
pkgver = 3.8.1
- pkgrel = 1
+ pkgrel = 3
url = http://www.ampache.org/
install = ampache.install
arch = i686
@@ -18,9 +18,9 @@ pkgbase = ampache
optdepends = mp3splt: mp3 and ogg transcoding/downsampling
conflicts = ampache-git
conflicts = ampache-development
- source = https://github.com/ampache/ampache/archive/3.8.1.tar.gz
+ source = https://github.com/ampache/ampache/releases/download/3.8.1/ampache-3.8.1_all.zip
source = nginx-example.conf
- sha256sums = 2eff94b5674ceb3cfc3a53c1addb297b016f74b1e732f17e9d05920f2ed2a35a
+ sha256sums = 20fc3679830e0f950b94e632c23fce79d0192f6338db0c23b29443a5ef87607f
sha256sums = efb63c0ac7e6462ee5c705b9c1998a1d2462502e19e7e5c97fce2c5142b8e62e
pkgname = ampache
diff --git a/PKGBUILD b/PKGBUILD
index 4c1c94742e25..4ede6362f6fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
#Contributor: Diego <cdprincipe@gmail.com
pkgname=ampache
pkgver=3.8.1
-pkgrel=1
+pkgrel=3
pkgdesc="A PHP-based tool for managing and playing your audio/video files via a web interface"
arch=('i686' 'x86_64')
url="http://www.ampache.org/"
@@ -17,9 +17,9 @@ optdepends=('lame: all transcoding/downsampling'
'mp3splt: mp3 and ogg transcoding/downsampling')
conflicts=('ampache-git' 'ampache-development')
install=${pkgname}.install
-source=(https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz
+source=(https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}_all.zip
'nginx-example.conf')
-sha256sums=('2eff94b5674ceb3cfc3a53c1addb297b016f74b1e732f17e9d05920f2ed2a35a'
+sha256sums=('20fc3679830e0f950b94e632c23fce79d0192f6338db0c23b29443a5ef87607f'
'efb63c0ac7e6462ee5c705b9c1998a1d2462502e19e7e5c97fce2c5142b8e62e')
build() {
@@ -27,9 +27,11 @@ build() {
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}
mkdir -p ${pkgdir}/srv/http/${pkgname}
- cp -a * ${pkgdir}/srv/http/${pkgname}/
+ cp -r * ${pkgdir}/srv/http/${pkgname}/
+ unlink ${pkgdir}/srv/http/${pkgname}/${pkgname}-${pkgver}_all.zip
+ unlink ${pkgdir}/srv/http/${pkgname}/nginx-example.conf
mkdir -p ${pkgdir}/usr/share/doc/${pkgname}
install -D -m644 ${srcdir}/nginx-example.conf ${pkgdir}/usr/share/doc/${pkgname}/
}