There has to be './configure' called prior 'make', also version scheme is just broken (as reported before), I've re-factored this PKGBUILD and I maintain it here <https://raw.githubusercontent.com/mkoskar/pkgbuilds/master/trayer-srg-git/PKGBUILD>. Please grab it from there.
Search Criteria
Package Details: trayer-srg-git 1.1.6.r17.gc61b606-1
Package Actions
| Package Base: | trayer-srg-git |
|---|---|
| Description: | A trayer fork with multi monitor support, cleaned up codebase and other fancy stuff. |
| Upstream URL: | http://github.com/sargon/trayer-srg |
| Category: | x11 |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | s4rg.on |
| Maintainer: | s4rg.on |
| Last Packager: | s4rg.on |
| Votes: | 18 |
| First Submitted: | 2010-03-30 09:33 |
| Last Updated: | 2014-12-01 11:35 |
Required by (0)
Sources
Latest Comments
Comment by mkoskar
Comment by Jonhoo
Please increment epoch and transition to revision-counting as primary version as described in the VCS packaging guidelines (pkgver set to be `printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"`). The current scheme makes it very difficult to determine whether one version is newer than another.
Comment by medvid
Please add manpage and license to package():
install -D -m644 man/trayer.1 "${pkgdir}/usr/share/man/man1/trayer.1"
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
Fixed PKGBUILD: https://raw.github.com/medvid/pkgbuild/master/aur/trayer-srg-git/PKGBUILD
Comment by misc
Update the pkgver to 6ba5324 please, that's the actual format which this PKGBUILD's pkgver() returns (currently).
Comment by wallnuss
please take a look at https://aur.archlinux.org/packages/trayer-srg for a non-VCS pkgbuild.
Comment by abbradar
Please update according to the new pacman 4.1 VCS guidelines, and add package() function. Otherwise, pkgver is broken.
Comment by s4rg.on
Thx.
Didn't knew this argument.
Comment by chneukirchen
Please use "makepkg --source", the directory in the Tarball is called "trayer-srg" and not "trayer-srg-git" as it should be.
Comment by xmw
Please take a look at my gentoo overlay commit [1] for
a set of patches which might be useful over here, too.
Michael
[1] http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=99bce18f66447dd744e3842af278c9d7b7a5dc39
Comment by xmw
License is MIT
Comment by xmw
No need to remove -Wl,--as-needed from LDFLAGS ;-)
https://github.com/sargon/trayer-srg/issues/4
--- /tmp/PKGBUILD.orig 2011-08-09 03:06:46.062081110 +0200
+++ /tmp/PKGBUILD 2011-08-09 03:02:25.894355799 +0200
@@ -32,9 +32,12 @@
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
+ sed -e 's:$(LIBS) $(OBJ) -o $@:$(OBJ) -o $@ $(LIBS):' \
+ -i Makefile || die
+
#
# BUILD HERE
#
- LDFLAGS="" make || return 1
+ make || return 1
make PREFIX="$pkgdir/usr/" install
}