From 7fb577a6a9c9ab61677c252ac0eaea8d218fa61a Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Wed, 12 Apr 2023 02:25:25 +0200 Subject: [PATCH] Adding Sent --- sent/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sent/PKGBUILD diff --git a/sent/PKGBUILD b/sent/PKGBUILD new file mode 100644 index 0000000..284c2cf --- /dev/null +++ b/sent/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: DEBUCQUOY Anthony +pkgname=tonitch-sent-git +pkgver= +pkgrel=1 +pkgdesc="sent presentation tool with patch for tonitch" +arch=('x86_64') +url="https://git.herisson.ovh/tonitch/sent" +license=('MIT') +depends=() +makedepends=('git') +provides=(sent) +conflicts=(sent) +source=("git+$url") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/sent" + printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" +} + +build() { + cd "$srcdir/sent" + make +} + +package() { + cd "$srcdir/sent" + make PREFIX=/usr DESTDIR="$pkgdir/" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}