summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mattern2015-08-14 18:53:38 +0200
committerPeter Mattern2015-08-14 18:53:38 +0200
commit2c6b48e5b36d5d98b6f0472fcec5ad9ff9e613c1 (patch)
treee2d49d0e0a84a73946de4104c7da2ddd9660b668
downloadaur-2c6b48e5b36d5d98b6f0472fcec5ad9ff9e613c1.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD38
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..08c590471e5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = fatrat
+ pkgdesc = Qt Download/Upload Manager
+ pkgver = 1.2.0_beta2
+ pkgrel = 1
+ url = http://fatrat.dolezel.info
+ arch = i686
+ arch = x86_64
+ license = custom: GPL2 + complement
+ makedepends = cmake
+ depends = qt4
+ source = https://github.com/LubosD/fatrat/archive/1.2.0_beta2.tar.gz
+ sha256sums = 187081ad9d6f6f542eab2176c2c00936c7307c08cf903ed752bfc6be13892109
+
+pkgname = fatrat
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9bf3a09a498
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Peter Mattern <pmattern at arcor dot de>
+
+# BitTorrent not supported in this release as I couldn't get it to compile
+
+pkgname=fatrat
+pkgver=1.2.0_beta2
+pkgrel=1
+pkgdesc="Qt Download/Upload Manager"
+arch=("i686" "x86_64")
+url="http://fatrat.dolezel.info"
+license=("custom: GPL2 + complement")
+depends=("qt4")
+makedepends=("cmake")
+source=("https://github.com/LubosD/fatrat/archive/1.2.0_beta2.tar.gz")
+sha256sums=("187081ad9d6f6f542eab2176c2c00936c7307c08cf903ed752bfc6be13892109")
+
+build() {
+
+ cd $pkgname-$pkgver
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_DOCUMENTATION=ON \
+ -DWITH_NLS=ON \
+ -DWITH_CURL=ON
+ make
+
+}
+
+package() {
+
+ # actual installation
+ cd $pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+
+ # license
+ install -D -m644 $srcdir/$pkgname-$pkgver/LICENSE \
+ $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}