mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
15aa2e1938
awstats update to version 7.1, code cleanup
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
# Contributor: Neo Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=aria2
|
|
pkgver=1.16.3
|
|
pkgrel=1
|
|
pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink.'
|
|
arch=('x86_64')
|
|
url='http://aria2.sourceforge.net/'
|
|
license=('GPL3')
|
|
depends=('ca-certificates' 'c-ares' 'gnutls' 'libxml2' 'sqlite3')
|
|
categories=('network')
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('2f37c41e6a9f883f75525970582b1414')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
|
|
# add bash completion (aria2 automatically installs to a temporary target directory)
|
|
install -d ${pkgdir}/usr/share/bash-completion/completions
|
|
install -m644 ${pkgdir}/usr/share/doc/aria2/bash_completion/aria2c \
|
|
${pkgdir}/usr/share/bash-completion/completions
|
|
rm -rf ${pkgdir}/usr/share/doc/aria2/bash_completion
|
|
}
|