summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfx <sfx@localhost>2015-06-21 09:51:39 +0200
committersfx <sfx@localhost>2015-06-21 09:51:39 +0200
commit9152039ceaa8221dfbea779eb69bce5fa2c4563a (patch)
tree7c28aade43404cddcfcf69965b3f9c32840647c3
downloaddiana-git-9152039ceaa8221dfbea779eb69bce5fa2c4563a.tar.xz
diana-git-9152039ceaa8221dfbea779eb69bce5fa2c4563a.zip
Initial import
-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 0000000..eccef19
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = diana-git
+ pkgdesc = A command line interface to the aria2 daemon
+ pkgver = 20140126.59
+ pkgrel = 1
+ url = https://github.com/baskerville/diana
+ arch = i686
+ arch = x86_64
+ license = unknown
+ makedepends = git
+ depends = aria2
+ depends = python
+ provides = diana
+ conflicts = diana
+ source = git://github.com/baskerville/diana
+ sha512sums = SKIP
+
+pkgname = diana-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..842faf1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: flu
+# Contributor: Guten Ye
+
+_name="diana"
+pkgname="$_name-git"
+pkgver=20140126.59
+pkgrel=1
+pkgdesc="A command line interface to the aria2 daemon "
+arch=("i686" "x86_64")
+url="https://github.com/baskerville/diana"
+license=("unknown")
+depends=("aria2" "python")
+makedepends=("git")
+provides=("$_name")
+conflicts=("$_name")
+source=(git://github.com/baskerville/diana)
+sha512sums=(SKIP)
+
+pkgver() {
+ cd "$srcdir/$_name"
+ echo "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count master)"
+}
+
+package() {
+
+ cd "$srcdir/$_name"
+ mkdir -p "$pkgdir/usr/bin/"
+
+ install -Dm755 dad "$pkgdir/usr/bin/"
+ install -Dm755 diana "$pkgdir/usr/bin/"
+}