diff options
author | Todd Freed | 2021-10-17 09:13:57 -0700 |
---|---|---|
committer | Todd Freed | 2021-11-06 11:43:10 -0700 |
commit | 58f189a42abd841678cde3076a652b05bc853074 (patch) | |
tree | 9e42e43bf03412a885450d77ae383668b4286fe6 | |
download | aur-58f189a42abd841678cde3076a652b05bc853074.tar.gz |
build: initial PKGBUILD
Signed-off-by: Todd Freed <todd.freed@gmail.com>
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 39 |
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6143c874b96b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = meshboard-xorg + pkgdesc = Synchronize the clipboard across a mesh of hosts, with xorg integration + pkgver = 0.5.1 + pkgrel = 1 + url = https://github.com/hossbeast/meshboard + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = perl + depends = libxfixes + provides = meshboard + conflicts = meshboard + source = meshboard::git+https://github.com/hossbeast/meshboard#tag=v0.5.1?signed + validpgpkeys = 79154EE9C4811D32B814EB88B1B3C76D76638462 + sha512sums = SKIP + +pkgname = meshboard-xorg diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..fae4d1768f3b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/src +/pkg +/meshboard +/meshboard-* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fe4e5899fb83 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: hossbeast <todd DOT freed AT gmail DOT com> + +pkgname=meshboard-xorg +pkgver=0.5.1 +pkgrel=1 +pkgdesc="Synchronize the clipboard across a mesh of hosts, with xorg integration" +provides=('meshboard') +conflicts=('meshboard') +arch=('x86_64') +url="https://github.com/hossbeast/meshboard" +license=('GPL3') +depends=('libxfixes') +makedepends=('git' 'perl') +source=( + "meshboard::git+https://github.com/hossbeast/meshboard#tag=v${pkgver}?signed" +) +sha512sums=('SKIP') +validpgpkeys=('79154EE9C4811D32B814EB88B1B3C76D76638462') # hossbeast + +build() { + cd meshboard + ./configure --enable-xorg + make +} + +package() { + install -m755 -d "$pkgdir/usr/bin" + install -m755 -t "$pkgdir/usr/bin" "$srcdir/meshboard/meshboard" + + install -m755 -d "$pkgdir/usr/share/doc/$pkgname" + install -m644 -t "$pkgdir/usr/share/doc/$pkgname" "$srcdir/meshboard/README.md" + install -m644 -t "$pkgdir/usr/share/doc/$pkgname" "$srcdir/meshboard/CHANGELOG" + + install -m755 -d "$pkgdir/usr/share/licenses/$pkgname" + install -m644 -t "$pkgdir/usr/share/licenses/$pkgname" "$srcdir/meshboard/LICENSE" + + install -m755 -d "$pkgdir/usr/lib/systemd/user" + install -m644 -t "$pkgdir/usr/lib/systemd/user" "$srcdir/meshboard/systemd/meshboard.service" +} |