mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-11 07:16:42 +02:00
testing/fyi: new aport
This commit is contained in:
parent
dddc543d4e
commit
313cf312d6
22
testing/fyi/0001-main-add-missing-include.patch
Normal file
22
testing/fyi/0001-main-add-missing-include.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 93ce3ef5a23ec34fde1ee07990329cfa398b3503 Mon Sep 17 00:00:00 2001
|
||||
From: q66 <q66@chimera-linux.org>
|
||||
Date: Fri, 2 Aug 2024 21:23:30 +0200
|
||||
Subject: [PATCH] main: add missing include
|
||||
|
||||
This is needed to get declarations for close/read.
|
||||
---
|
||||
main.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/main.c b/main.c
|
||||
index 55300f9..b9e396d 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
34
testing/fyi/APKBUILD
Normal file
34
testing/fyi/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
|
||||
pkgname=fyi
|
||||
pkgver=1.0.2
|
||||
pkgrel=0
|
||||
pkgdesc="A notify-send alternative"
|
||||
url="https://codeberg.org/dnkl/fyi"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
makedepends="meson ninja scdoc dbus-dev"
|
||||
subpackages="
|
||||
$pkgname-doc
|
||||
$pkgname-bash-completion
|
||||
$pkgname-fish-completion
|
||||
"
|
||||
options="!check"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/fyi/archive/$pkgver.tar.gz
|
||||
0001-main-add-missing-include.patch
|
||||
"
|
||||
builddir="$srcdir/fyi"
|
||||
|
||||
build() {
|
||||
meson setup build --prefix /usr
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
meson install -C build --no-rebuild --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
fe4f676c4683a9368d60d62f8679b343fdc14fe661ec2d60ebc3d5bb6f865a26bad1d247d00cbf3d04d558598cccf114a29184c2b3d8c3570ad0327220b97f78 fyi-1.0.2.tar.gz
|
||||
3858ef0b310874faba1422cc8cd1d7ee4805ef720f2f57c2d5139960a537f2eb47f026a72b817acffebfb444f113b4f2f5473bc5ac4426f06d45a274a41f0be9 0001-main-add-missing-include.patch
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user