summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 113730429e19cb1cf28778f085914c1bfe800863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pkgname=multiselect
pkgver=1.1.0
pkgrel=1
pkgdesc="multiple x11 selection server"
arch=('x86_64')
url="https://github.com/sgerwk/multiselect"
depends=('libx11' 'libxau' 'libxcb' 'libxdmcp')
source=(git+https://github.com/sgerwk/multiselect#tag=v$pkgver)
sha256sums=('SKIP')

build() {
  cd $startdir/src/$pkgname
  make || return 1
}

check() {
  cd $startdir/src/$pkgname
  return $(test -x multiselect)
}

package() {
  cd $startdir/src/$pkgname
  make DESTDIR=$startdir/pkg/$pkgname install
}