diff options
author | George Rawlinson | 2021-06-12 07:04:41 +0000 |
---|---|---|
committer | George Rawlinson | 2021-06-12 07:04:41 +0000 |
commit | b88bc06cc55f226e1c8f877632245f518038ddaa (patch) | |
tree | 08353d5880de2bc88f5d65566ebcfce4d4f04e51 | |
download | aur-b88bc06cc55f226e1c8f877632245f518038ddaa.tar.gz |
addpkg: landrop 0.4.0-1
New upstream release.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7705396e49ff --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = landrop + pkgdesc = Drop any files to any devices on your LAN + pkgver = 0.4.0 + pkgrel = 1 + url = https://landrop.app + arch = x86_64 + license = GPL + depends = qt5-base + depends = libsodium + depends = hicolor-icon-theme + depends = gcc-libs + source = landrop-0.4.0.tar.gz::https://github.com/LANDrop/LANDrop/archive/v0.4.0.tar.gz + b2sums = 8dc02cf952bc8761265d2ea78868f6ea81a4a0be7496c017b87b0253bd82e2d729b1172a6eeafdc73966d628c8f67bd60600daf6a43adf365b5afd986a249cf2 + +pkgname = landrop diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..97e7652d1ea4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: George Rawlinson <grawlinson@archlinux.org> + +pkgname=landrop +_pkgname=LANDrop +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Drop any files to any devices on your LAN" +arch=('x86_64') +url="https://landrop.app" +license=('GPL') +depends=('qt5-base' 'libsodium' 'hicolor-icon-theme' 'gcc-libs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/LANDrop/LANDrop/archive/v$pkgver.tar.gz") +b2sums=('8dc02cf952bc8761265d2ea78868f6ea81a4a0be7496c017b87b0253bd82e2d729b1172a6eeafdc73966d628c8f67bd60600daf6a43adf365b5afd986a249cf2') + +prepare() { + cd "$_pkgname-$pkgver" + mkdir build + + # correct install path + sed -i "s|usr/local|usr|" "$_pkgname/$_pkgname.pro" +} + +build() { + cd "$_pkgname-$pkgver/build" + qmake "../$_pkgname" + make +} + +package() { + cd "$_pkgname-$pkgver/build" + make INSTALL_ROOT="$pkgdir" install +} |