different source

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2016-02-25 05:46:52 +03:00
parent 2d1e3c2566
commit 75f6f5faa2
1 changed files with 5 additions and 3 deletions

View File

@ -4,6 +4,7 @@ pkgname='prm'
pkgdesc='A simple AUR/ABS downloader.'
license=( 'ISC' )
pkgver=3.5.1
_commit=04ec3a81a540260a524006bc4672cf336ea45baf
pkgrel=1
arch=( 'any' )
replaces=( zpac )
@ -11,12 +12,13 @@ url='https://github.com/fbt/prm'
depends=( 'subversion' 'curl' 'bash' 'jshon' )
source=( "https://github.com/fbt/prm/archive/v${pkgver}.zip" )
source=( "https://gitlab.com/fbt/prm/repository/archive.tar.gz?ref=v$pkgver" )
package() {
cd "$srcdir/$pkgname-$pkgver"
cd "$srcdir/$pkgname-v$pkgver-$_commit"
install -Dm755 prm "${pkgdir}/usr/bin/prm"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha1sums=('943860d07c9f88609207494e9cc5a09c4967c99e')
sha1sums=('9f37d04d6d63f002380ac7105ab4409c73d5242c')