New package: unclutter-xfixes-1.2
This commit is contained in:
parent
d2b3eaacae
commit
8bc4d69f0a
2 changed files with 30 additions and 0 deletions
13
srcpkgs/unclutter-xfixes/patches/make.patch
Normal file
13
srcpkgs/unclutter-xfixes/patches/make.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -30 +29,0 @@ all: clean $(TARGET) mans
|
||||
-.PHONY: $(TARGET)
|
||||
@@ -32 +31 @@ $(TARGET): $(OBJS)
|
||||
- $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
||||
+ $(CC) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
||||
@@ -35 +34 @@ $(ODIR)/%.o: $(SDIR)/%.c $(INCS)
|
||||
- $(CC) -D'__VERSION="$(shell git describe --all --long --always)"' $(CFLAGS) -o $@ -c $<
|
||||
+ $(CC) $(CFLAGS) -Iinclude -o $@ -c $<
|
||||
@@ -38 +37 @@ $(ODIR)/%.o: $(SDIR)/%.c $(INCS)
|
||||
-install: $(TARGET)
|
||||
+install:
|
17
srcpkgs/unclutter-xfixes/template
Normal file
17
srcpkgs/unclutter-xfixes/template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'unclutter-xfixes'
|
||||
pkgname=unclutter-xfixes
|
||||
version=1.2
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_install_args="PREFIX=/usr/bin"
|
||||
hostmakedepends="pkg-config asciidoc"
|
||||
makedepends="libXfixes-devel libXi-devel libev-devel"
|
||||
short_desc="Rewrite of the popular tool unclutter using the libXfixes"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/Airblader/unclutter-xfixes"
|
||||
distfiles="https://github.com/Airblader/unclutter-xfixes/archive/v${version}.tar.gz"
|
||||
checksum=addaf8fa4e7381a95ea2279eb47be675b52eb43efb83f7a78ac9044e53121d4a
|
||||
conflicts="unclutter>=0"
|
||||
|
||||
CFLAGS="-D__VERSION=\\\"$version\\\""
|
Loading…
Reference in a new issue