# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=dragon-drop
pkgver=1.2.0
pkgrel=1
pkgdesc="Drag and drop source/target for X or Wayland"
url="https://github.com/mwh/dragon"
arch="all"
license="GPL-3.0-or-later"
makedepends="gtk+3.0-dev"
subpackages="$pkgname-doc"
source="https://github.com/mwh/dragon/archive/refs/tags/v$pkgver/dragon-$pkgver.tar.gz"
builddir="$srcdir/dragon-$pkgver"
options="!check" # no tests provided

build() {
	make NAME=dragon-drop
}

package() {
	make NAME=dragon-drop PREFIX="/usr" DESTDIR="$pkgdir" install
}

sha512sums="
0f937459b91163034d07ddc654d626ec935fce6b19bb83741137ef5d780d396d95ed7f618e5b593157c525d46b92d381ba968bd29e572bb16adfd9e3acdd337b  dragon-1.2.0.tar.gz
"
