summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2024-01-06 04:39:42 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2024-01-06 04:39:42 +0100
commitf48a77b617930f88bb0dd124881493d213b6a220 (patch)
treeebf674e05151bbb71a1bf5897b53cf6b8b4d130d
downloadlaga-signatur-f48a77b617930f88bb0dd124881493d213b6a220.tar.gz
laga-signatur-f48a77b617930f88bb0dd124881493d213b6a220.tar.xz
Initial packaging.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..f3edc1e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = laga-signatur
+ pkgdesc = Generate email signatures specifying which laws you follow
+ pkgver = 1.1
+ pkgrel = 1
+ url = https://git.lysator.liu.se/hugo/laga-signatur
+ arch = any
+ license = LGPL
+ makedepends = boost
+ makedepends = cmake
+ depends = boost-libs
+ depends = libxdg-basedir
+ source = https://git.lysator.liu.se/hugo/laga-signatur/-/archive/v1.1/laga-signatur-v1.1.tar.gz
+ sha256sums = 2e7e276f9e9fe16b7625297fe095f20e212358b3cfccd9d54aecd5fe7dc8f70a
+
+pkgname = laga-signatur
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..1c1d461
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Hugo Hörnquist <hugo@lysator.liu.se>
+
+pkgname=laga-signatur
+pkgver=1.1
+pkgrel=1
+pkgdesc='Generate email signatures specifying which laws you follow'
+arch=(any)
+license=(LGPL)
+depends=(boost-libs libxdg-basedir)
+makedepends=(boost cmake)
+url=https://git.lysator.liu.se/hugo/${pkgname}
+source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
+sha256sums=('2e7e276f9e9fe16b7625297fe095f20e212358b3cfccd9d54aecd5fe7dc8f70a')
+
+build() {
+ cmake -B build -S "$srcdir/$pkgname-v$pkgver" --install-prefix /usr
+ cmake --build build
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+}