File PKGBUILD of Package autocutsel-nightly

# Maintainer: Patrick Haar <Pihaar@users.noreply.github.com>
pkgname=autocutsel-nightly
pkgver=0
pkgrel=1
pkgdesc='Keep the X clipboard and the cutbuffer in sync - nightly build'
arch=('x86_64')
url='https://github.com/Pihaar/autocutsel'
license=('GPL-2.0-or-later')
depends=('libx11' 'libxt' 'libxmu' 'libxaw' 'libxext' 'libinput' 'systemd-libs')
makedepends=('autoconf' 'automake' 'libtool' 'pkg-config')
conflicts=('autocutsel')
provides=('autocutsel')
source=("autocutsel-$pkgver.tar.gz")
sha256sums=('SKIP')

build() {
  cd "autocutsel-$pkgver"
  ./bootstrap
  ./configure --prefix=/usr
  make
}

check() {
  cd "autocutsel-$pkgver"
  make check
}

package() {
  cd "autocutsel-$pkgver"
  make DESTDIR="$pkgdir" install
}
openSUSE Build Service is sponsored by