New package: batsignal-1.1.2

Close #23963
This commit is contained in:
André Cerqueira 2020-07-31 00:42:21 +01:00 committed by Đoàn Trần Công Danh
parent 3522767664
commit d2ac638a7a
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,14 @@
--- Makefile 2020-07-31 18:42:11.268427773 +0100
+++ Makefile 2020-07-31 19:30:33.904122987 +0100
@@ -7,9 +7,9 @@
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
-CC = cc
+CC ?= cc
LD = ld
-CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -Wno-unused-parameter -Os -s -D_GNU_SOURCE $(shell pkg-config --cflags libnotify)
+CFLAGS += -std=c99 -D_GNU_SOURCE $(shell pkg-config --cflags libnotify)
LDLIBS = $(shell pkg-config --libs libnotify)
SRC = main.c version.h

View file

@ -0,0 +1,18 @@
# Template file for 'batsignal'
pkgname=batsignal
version=1.1.2
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="libnotify-devel"
short_desc="Simple battery monitor"
maintainer="André Cerqueira <acerqueira021@gmail.com>"
license="ISC"
homepage="https://github.com/electrickite/batsignal"
distfiles="https://github.com/electrickite/batsignal/archive/${version}.tar.gz"
checksum=00cb30df33b5fee049963657f341e963a0f094dbf1620397bf1e56fa07191e7c
post_install() {
vlicense LICENSE
}