summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSte742015-10-05 22:08:08 +0200
committerSte742015-10-05 22:08:08 +0200
commitaffc0d77f09969ffe5d8d3686234c37370bbebee (patch)
treeacdb96cc8ef50f5e76ae28c8b4c4e3ce922a6aaa
downloadaur-affc0d77f09969ffe5d8d3686234c37370bbebee.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--0001-Add-missing-lm-dep.patch15
-rw-r--r--PKGBUILD38
3 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b36eb02a6f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v7
+# Mon Oct 5 20:07:12 UTC 2015
+pkgbase = slingscold
+ pkgdesc = A lighter launcher
+ pkgver = 1.2.1
+ pkgrel = 1
+ url = http://sourceforge.net/projects/slingscold/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = vala
+ depends = libunique
+ depends = libgee06
+ depends = gnome-menus2
+ depends = libwnck
+ depends = gtk2
+ depends = cairo
+ source = http://ppa.launchpad.net/noobslab/apps/ubuntu/pool/main/s/slingscold/slingscold_1.2.1.7t~NoobsLab.com.tar.gz
+ source = 0001-Add-missing-lm-dep.patch
+ sha256sums = 363f8b9ac6a4a93b9703066dff0f25b39a45b46d6e856c90f4256e9a26dfd418
+ sha256sums = 6b1c97fe7863da5d7be000b3f139cc974ea86654c2b210be6eb1b1ac070a9a7c
+
+pkgname = slingscold
+
diff --git a/0001-Add-missing-lm-dep.patch b/0001-Add-missing-lm-dep.patch
new file mode 100644
index 00000000000..49eb988c7d5
--- /dev/null
+++ b/0001-Add-missing-lm-dep.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 694cc8c..ad8fef3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -19,7 +19,8 @@ pkg_check_modules(GTHREAD REQUIRED "gthread-2.0 >= 2.14.0")
+
+ add_definitions(${DEPS_CFLAGS})
+
+-link_libraries(${DEPS_LIBRARIES} ${GTHREAD_LIBRARIES})
++find_library(M_LIB m)
++link_libraries(${DEPS_LIBRARIES} ${GTHREAD_LIBRARIES} ${M_LIB})
+
+ link_directories(${DEPS_LIBRARY_DIRS})
+
+--
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2f36cb88255
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+#
+# Maintainer: Ste74 <capitani74atgmaildotcom>
+# Maintainer: Zavon <zavon at zavon .org>
+
+pkgname=slingscold
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="A lighter launcher"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/slingscold/"
+license=('GPL3')
+depends=('libunique' 'libgee06' 'gnome-menus2' 'libwnck' 'gtk2' 'cairo')
+makedepends=('cmake' 'vala')
+source=("http://ppa.launchpad.net/noobslab/apps/ubuntu/pool/main/s/slingscold/slingscold_1.2.1.7t~NoobsLab.com.tar.gz"
+ '0001-Add-missing-lm-dep.patch')
+sha256sums=('363f8b9ac6a4a93b9703066dff0f25b39a45b46d6e856c90f4256e9a26dfd418'
+ '6b1c97fe7863da5d7be000b3f139cc974ea86654c2b210be6eb1b1ac070a9a7c')
+
+prepare() {
+ cd "$srcdir"
+ rm -rf build && mkdir build
+
+ cd "$srcdir/slingscold_1.2.1"
+ patch -p1 < "$srcdir"/0001-Add-missing-lm-dep.patch
+}
+
+build() {
+ cd "$srcdir"/build
+ cmake ../"slingscold_1.2.1" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/build
+ make DESTDIR="$pkgdir" install
+}