forked from msys2/MSYS2-packages
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathPKGBUILD
37 lines (31 loc) · 884 Bytes
/
PKGBUILD
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
32
33
34
35
36
37
# Maintainer: Yong-hyu, Ban <[email protected]>
# Maintainer: Eon Jeong <[email protected]>
pkgname=axel
pkgver=2.16.1
pkgrel=1
pkgdesc="Light command line download accelerator for Linux and Unix"
arch=('i686' 'x86_64')
license=('GPL')
url="https://github.com/axel-download-accelerator/axel"
groups=()
depends=('openssl' 'gettext')
makedepends=('openssl-devel' 'gettext-devel')
options=()
source=("https://github.com/axel-download-accelerator/axel/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('763066efc61e4f7be2eb59afa049bdbc520837e01c95a78f403e542ad82f2719')
prepare() {
cat /dev/null
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--mandir=/usr/share/man \
--disable-nls
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}