summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 371ee2f26f8a0cd1774cc64edb20e322b697d1c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=aria2d
pkgver=1.1
pkgrel=2
pkgdesc='Daemonize aria2'
license=('GPL2')
arch=(any)
depends=('aria2')
provides=('aria2c-daemon')
conflicts=('aria2c-daemon')
replaces=('aria2c-daemon')
makedepends=('git')
url='https://github.com/MikalaiR/aria2d'
install=$pkgname.install
source=("git+https://github.com/MikalaiR/aria2d.git")
md5sums=('SKIP')

package() {
	cd "${srcdir}/${pkgname}"
	install -D -m644 "./aria2.conf"     	"${pkgdir}/etc/conf.d/aria2.conf"
	install -D -m644 "./aria2d.service" 	"${pkgdir}/usr/lib/systemd/system/aria2d.service"
}