testing/sandbar: upgrade to 0.1

This commit is contained in:
Dmitry Zakharchenko 2023-06-30 21:27:38 +03:00 committed by alice
parent dc3ba489af
commit ef07773ab4
2 changed files with 3 additions and 21 deletions

View File

@ -1,18 +1,14 @@
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=sandbar
pkgver=0_git20230629
pkgver=0.1
pkgrel=0
_commit="e5f17e5ad618f284dbfb62d121d7386e9d5b684e"
pkgdesc="dwm-like bar for the river compositor"
url="https://github.com/kolunmi/sandbar"
arch="all"
license="GPL-3.0-or-later"
makedepends="fcft-dev wayland-dev wayland-protocols"
source="https://github.com/kolunmi/sandbar/archive/$_commit.tar.gz
destdir.patch
"
builddir="$srcdir/$pkgname-$_commit"
source="$pkgname-$pkgver.tar.gz::https://github.com/kolunmi/sandbar/archive/v$pkgver.tar.gz"
options="!check" # no test suite
build() {
@ -24,6 +20,5 @@ package() {
}
sha512sums="
a289134add97cdc0001d44a34b42e089aba5a42d3dc5b7b438cb3877e0ad49fee6d5fc92d8851f73aa04ccc35c03603c900bd8cc98f0f0af3ef1e4972aa862c8 e5f17e5ad618f284dbfb62d121d7386e9d5b684e.tar.gz
866a1b20df0277b604b427943eb10002d149e1fd2dc37017dd2c5be66b2c2e04ee031e0c6c754a8380ed20e0b107eb1425ef7bb8f529961ec53e068d36056b88 destdir.patch
0edd218c6cde8fa47a7df92243348a12d4608c16347dc76fa2e22d387723f191bb02e32b58bc8c5ac0af0f8f7297162c1d22adc61d2a10cccd42fef94891b829 sandbar-0.1.tar.gz
"

View File

@ -1,13 +0,0 @@
diff --git a/Makefile b/Makefile
index 34748e6..159a3d9 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ clean:
$(RM) $(BINS) $(addsuffix .o,$(BINS))
install: all
- install -D -t $(PREFIX)/bin $(BINS)
+ install -D -t $(DESTDIR)$(PREFIX)/bin $(BINS)
WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols)
WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner)