summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/steadyflow/PKGBUILD33
-rw-r--r--pcr/steadyflow/steadyflow.install17
2 files changed, 50 insertions, 0 deletions
diff --git a/pcr/steadyflow/PKGBUILD b/pcr/steadyflow/PKGBUILD
new file mode 100644
index 000000000..a9381448e
--- /dev/null
+++ b/pcr/steadyflow/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: M0Rf30
+# Contributor: Dan Serban
+# Contributor: zbito <ztokarczyk at gmail dot com
+
+pkgname=steadyflow
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="A download manager that aims for minimalism, ease of use, and a
+clean, malleable codebase"
+arch=('i686' 'x86_64')
+url=https://launchpad.net/steadyflow
+license=('GPL3')
+install=steadyflow.install
+depends=('desktop-file-utils' 'glib2' 'gtk3' 'gvfs' 'libgee' 'libnotify'
+'libunique' 'libgee06')
+makedepends=('cmake' 'vala')
+conflicts=('steadyflow-bzr')
+source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.xz https://launchpadlibrarian.net/55910801/steadyflow-64px.png)
+md5sums=('16b9907c1d681e7f0a861f066d4fda0e' 'bbe025886f071ebfffa5fed350cced0c')
+
+build() {
+ cd $pkgname-$pkgver
+ cmake -DCMAKE_INSTALL_PREFIX='/usr' -DCOMPILE_GSETTINGS_ON_INSTALL=NO -DWANT_AYATANA=NO
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make install DESTDIR="$pkgdir"
+ mkdir -p "$pkgdir"/usr/share/pixmaps
+ cp "$srcdir"/steadyflow-64px.png "$pkgdir"/usr/share/pixmaps/steadyflow.png
+}
+
diff --git a/pcr/steadyflow/steadyflow.install b/pcr/steadyflow/steadyflow.install
new file mode 100644
index 000000000..01434bc04
--- /dev/null
+++ b/pcr/steadyflow/steadyflow.install
@@ -0,0 +1,17 @@
+post_install()
+{
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade()
+{
+ post_install $1
+}
+
+post_remove()
+{
+ post_install $1
+}
+