summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2fdf4e0363796e8bf03d1d4019d3003f9f7b91b6 (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
# Maintainer: z3oxs <z3ox1s@protonmail.com>
pkgname=dl
pkgver=1.0.2.1
pkgrel=1
pkgdesc="A tool and core to download videos from your terminal"
arch=(x86_64 i686)
url="https://github.com/z3oxs/dl.git"
license=('MIT')
depends=(go)
makedepends=(git go)
provides=(dl)
conflicts=(dl)
source=("git+$url")
md5sums=('SKIP')
sha256sums=('SKIP')

build() {
    cd "$srcdir/dl/cli/"
    go build -o "dl"
}

package() {
    cd "$srcdir/dl"
    install -D LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
    cd "cli/"
    install -Dm755 dl "${pkgdir}/usr/bin/dl"
}