summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian 'Swift Geek' Grzywna2017-11-12 08:47:19 +0100
committerSebastian 'Swift Geek' Grzywna2017-11-12 08:47:23 +0100
commit6c1295bca53b32dc3f246cabd325a649b58f3559 (patch)
treee2e76296531b2086f45da3c6150eb1aaea53a77c
downloadaur-6c1295bca53b32dc3f246cabd325a649b58f3559.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..21225da7a1e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sun Nov 12 07:46:44 UTC 2017
+pkgbase = baidudl-git
+ pkgdesc = multi-thread download tool for pan.baidu.com
+ pkgver = a
+ pkgrel = 0
+ url = https://github.com/yzfedora/baidudl
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ license = GPL
+ depends = glibc
+ depends = curl
+ source = git://github.com/yzfedora/baidudl.git#commit=aaf561609f5a4178f3278f797cdda09c0aaa9e68
+ sha256sums = SKIP
+
+pkgname = baidudl-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..550bb6f976d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Swift Geek <swiftgeek «at» gmail>
+
+_pkgname=baidudl
+pkgname=baidudl-git
+pkgver=a
+pkgrel=0
+pkgdesc="multi-thread download tool for pan.baidu.com"
+arch=('i686' 'x86_64' 'armv7h')
+url="https://github.com/yzfedora/baidudl"
+license=('GPL')
+depends=('glibc' 'curl')
+source=( "git://github.com/yzfedora/baidudl.git#commit=aaf561609f5a4178f3278f797cdda09c0aaa9e68" )
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git rev-parse --short HEAD # Fix to better comply with github display
+}
+
+build() {
+ cd "$srcdir/${_pkgname}/"
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/${_pkgname}/"
+ make DESTDIR="${pkgdir}" install
+}
+
+