blob: 8980d0f50b504686bdf505097a93a078525d0c3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
pkgbase=saldl-git
pkgname=("$pkgbase")
pkgver=v25.5.ged58345
pkgrel=1
url="https://saldl.github.io"
pkgdesc="A CLI downloader optimized for speed and early preview, based on libcurl."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
license=('AGPL')
depends=('curl' 'libevent')
makedepends=('python' 'git' 'asciidoc')
source=($pkgbase::git://github.com/saldl/saldl.git)
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgbase"
saldl_ver="$(git describe --tags --long --dirty)"
echo ${saldl_ver//-/.}
}
build() {
cd "$srcdir/$pkgbase"
./waf configure --prefix="/usr"
./waf build
}
package_saldl-git() {
cd "$srcdir/$pkgname"
./waf install --destdir="$pkgdir"
}
|