summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12021-04-17 01:27:17 +0800
committerChocobo12021-04-17 01:50:36 +0800
commit03b0415eda0863f798226da9d98bd01d7ab2ff2c (patch)
tree918af325ca65e693c0d90fba18d721d1c4ad5307
downloadaur-03b0415eda0863f798226da9d98bd01d7ab2ff2c.tar.gz
newpkg: uget-git r627.g6ee0ed2-1
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD49
2 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7f1c55a3d4d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = uget-git
+ pkgdesc = Lightweight yet powerful download manager
+ pkgver = r627.g6ee0ed2
+ pkgrel = 1
+ url = https://ugetdm.com
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ makedepends = bash
+ makedepends = intltool
+ depends = glibc
+ depends = curl
+ depends = gstreamer
+ depends = gtk3
+ depends = libnotify
+ optdepends = aria2: alternative backend
+ provides = uget
+ conflicts = uget
+ source = git+https://git.code.sf.net/p/urlget/uget2
+ source = uget-gtk.appdata.xml::https://raw.githubusercontent.com/archlinux/svntogit-community/packages/uget/trunk/uget-gtk.appdata.xml
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = uget-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1b599c2bc36
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=uget-git
+pkgver=r627.g6ee0ed2
+pkgrel=1
+pkgdesc="Lightweight yet powerful download manager"
+arch=('i686' 'x86_64')
+url="https://ugetdm.com"
+license=('LGPL')
+depends=('glibc' 'curl' 'gstreamer' 'gtk3' 'libnotify')
+makedepends=('git' 'bash' 'intltool')
+optdepends=('aria2: alternative backend')
+provides=('uget')
+conflicts=('uget')
+source=("git+https://git.code.sf.net/p/urlget/uget2"
+ "uget-gtk.appdata.xml::https://raw.githubusercontent.com/archlinux/svntogit-community/packages/uget/trunk/uget-gtk.appdata.xml")
+sha256sums=('SKIP'
+ 'SKIP')
+
+
+pkgver() {
+ cd "uget2"
+
+ _rev=$(git rev-list --count --all)
+ _hash=$(git rev-parse --short HEAD)
+ printf "r%s.g%s" "$_rev" "$_hash"
+}
+
+build() {
+ cd "uget2"
+
+ sh autogen.sh
+ bash configure \
+ --prefix="/usr"
+ make
+}
+
+check() {
+ cd "uget2"
+
+ make check
+}
+
+package() {
+ cd "uget2"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/uget-gtk.appdata.xml" -t "$pkgdir/usr/share/metainfo"
+}