Package Details: libstrangle-git r113.36122df-1

Git Clone URL: https://aur.archlinux.org/libstrangle-git.git (read-only, click to copy)
Package Base: libstrangle-git
Description: Simple FPS Limiter
Upstream URL: https://gitlab.com/torkel104/libstrangle
Licenses: GPL3
Conflicts: libstrangle
Provides: libstrangle
Submitter: pyamsoft
Maintainer: core_contingency (qbvt)
Last Packager: core_contingency
Votes: 15
Popularity: 0.79
First Submitted: 2016-05-24 03:52
Last Updated: 2020-11-06 21:17

Latest Comments

jonathon commented on 2020-11-05 17:30

Looks like this needs a few tweaks to build in a clean chroot:

diff --git a/PKGBUILD b/PKGBUILD
index b23bcee..85f9ec2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,11 +6,12 @@
 _pkgname=libstrangle
 pkgname=${_pkgname}-git
 pkgdesc="Simple FPS Limiter"
-pkgver=r68.a5aa280
-pkgrel=4
+pkgver=r31.36122df
+pkgrel=1
 url='https://gitlab.com/torkel104/libstrangle'
 arch=('x86_64')
-makedepends=('git' 'gcc-multilib')
+depends=('lib32-gcc-libs' 'lib32-glibc' 'libgl')
+makedepends=('git')
 provides=('libstrangle')
 conflicts=('libstrangle')
 license=('GPL3')
@@ -19,20 +20,22 @@ sha256sums=('SKIP')

 pkgver() {
     cd $_pkgname
-
     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

 prepare() {
     cd $_pkgname
-
     sed -i -e '/ldconfig/d' makefile
 }

-package() {
+build() {
     cd $_pkgname
+    make prefix=/usr
+}

-    make prefix=/usr DESTDIR="$pkgdir" install
+package() {
+    cd $_pkgname
+    make prefix=/usr DESTDIR="$pkgdir" install-common install-32 install-64 install-ld

     # Install the README.md locally
     install -d "$pkgdir/usr/share/doc/$_pkgname"

Freso commented on 2020-02-09 14:18

Any chance you could install the README.md locally too in the PKGBUILD? See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=isrcsubmit-git for an example of additional documentation being installed from git repository.

CyberShadow commented on 2018-11-02 11:14

Please add makedepends=(git). It is needed to build in a clean chroot.

Hello71 commented on 2018-06-09 14:12

I no longer use this software.

ScarecrowDM commented on 2018-06-09 13:51

Hello, libstrangle has moved to gitlab.

https://gitlab.com/torkel104/libstrangle

pyamsoft commented on 2017-06-29 21:54

Unfortunately I no longer use this software frequently enough to keep it reliably up to date.

I will be orphaning the package to be adopted by another interested party.

xpander commented on 2017-06-26 17:31

i managed to make it patch by editing 01-prefix.patch with:
diff --git a/makefile b/makefile
index b2817bc..961e1b0 100644
--- a/makefile
+++ b/makefile
@@ -1,3 +1,3 @@
-prefix=/usr/local
+prefix=/usr
bindir=$(prefix)/bin
libdir=$(prefix)/lib
DOC_PATH=$(prefix)/share/doc/libstrangle

still gets few offsets (im not really good at this) buit it builds and seems to work

HNKNTA commented on 2017-06-25 12:03

patching file makefile
Hunk #1 succeeded at 33 with fuzz 2 (offset 8 lines).
patching file makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file makefile.rej