summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 680d05a6bdd639a74ad5ddc05b2fc435de0099e8 (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
# Maintainer: kitsunyan <`echo a2l0c3VueWFuQGFpcm1haWwuY2MK | base64 -d`>

pkgname=xdg-open-server
pkgver=1.3
pkgrel=1
pkgdesc='xdg-open portal for Docker containers'
arch=('i686' 'x86_64')
url="https://github.com/kitsunyan/$pkgname"
license=('MIT')
depends=('libx11' 'xdg-utils')
optdepends=('socat: xdg-open client script support')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('df9255f5ef1f21fd90cce59e3357dbc747e76b22261e7b1db979c879a1377d80')

_make_flags=(PREFIX=/usr SYSCONFDIR=/etc)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make "${_make_flags[@]}"
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make "${_make_flags[@]}" DESTDIR="$pkgdir" install
}