summaryrefslogtreecommitdiff
path: root/skip
diff options
context:
space:
mode:
Diffstat (limited to 'skip')
-rw-r--r--skip/transmission-remote-gtk/transmission-remote-gtk.xibuild20
-rw-r--r--skip/unrar/makefile.patch30
-rw-r--r--skip/unrar/unrar.xibuild27
3 files changed, 77 insertions, 0 deletions
diff --git a/skip/transmission-remote-gtk/transmission-remote-gtk.xibuild b/skip/transmission-remote-gtk/transmission-remote-gtk.xibuild
new file mode 100644
index 0000000..836738d
--- /dev/null
+++ b/skip/transmission-remote-gtk/transmission-remote-gtk.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+NAME="transmission-remote-gtk"
+DESC="GTK client for remote management of the Transmission BitTorrent client"
+
+MAKEDEPS="appstream-glib curl geoip gtk3 json-glib libmrss libnotify libproxy"
+
+PKG_VER=1.4.2
+SOURCE="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/$PKG_VER/transmission-remote-gtk-$PKG_VER.tar.gz"
+
+build() {
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ make install DESTDIR="$PKG_DEST" PREFIX="/usr"
+}
+
diff --git a/skip/unrar/makefile.patch b/skip/unrar/makefile.patch
new file mode 100644
index 0000000..1b0c09f
--- /dev/null
+++ b/skip/unrar/makefile.patch
@@ -0,0 +1,30 @@
+diff -upr unrar.orig/makefile unrar/makefile
+--- unrar.orig/makefile 2018-03-11 17:33:12.697132381 +0100
++++ unrar/makefile 2018-03-11 17:33:48.763911497 +0100
+@@ -2,13 +2,14 @@
+ # Makefile for UNIX - unrar
+
+ # Linux using GCC
+-CXX=c++
+-CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
++CXX?=c++
++CXXFLAGS?=-O2
++CXXFLAGS+=-Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+ LIBFLAGS=-fPIC
+ DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
+ STRIP=strip
+ AR=ar
+-LDFLAGS=-pthread
++LDFLAGS+=-pthread
+ DESTDIR=/usr
+
+ # Linux using LCC
+@@ -140,7 +141,7 @@ uninstall: uninstall-unrar
+ clean:
+ @rm -f *.o *.bak *~
+
+-unrar: clean $(OBJECTS) $(UNRAR_OBJ)
++unrar: $(OBJECTS) $(UNRAR_OBJ)
+ $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)
+ $(STRIP) unrar
+
diff --git a/skip/unrar/unrar.xibuild b/skip/unrar/unrar.xibuild
new file mode 100644
index 0000000..2d2500a
--- /dev/null
+++ b/skip/unrar/unrar.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="unrar"
+DESC="RAR uncompression program"
+
+MAKEDEPS="make "
+DEPS="musl "
+
+PKG_VER=6.0.7
+SOURCE="https://www.rarlab.com/rar/unrarsrc-$PKG_VER.tar.gz"
+ADDITIONAL="makefile.patch"
+
+prepare () {
+ apply_patches
+ touch unrar
+}
+
+build () {
+ make CXX="${CXX:-g++}" STRIP=: -f makefile
+}
+
+package () {
+ make PREFIX=/usr DESTDIR=$PKG_DEST install
+
+ install -Dm644 license.txt \
+ "$PKG_DEST"/usr/share/licenses/unrar/license.txt
+}