summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 239a4cbb75412031bc4b68207fff4189e372143f (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
26
# Last Maintainer: Anurag <anuragsingh3@outlook.com>
# Current Maintainer: Japorized <japorized@tuta.io>
_name=n30f
pkgname=${_name}-git
pkgver=2.0
pkgrel=3
pkgdesc='a quick hack to display a png in a borderless and transparent non-wm-managed window'
arch=('x86_64')
url="https://github.com/sdhand/n30f"
depends=('cairo' 'libxcb')
makedepends=('gcc' 'git')
license=('custom:BSD-3-Clause')
provides=('n30f')
conflicts=('n30f')
source=("${pkgname}::git+${url}.git")
md5sums=("SKIP")

build() {
  make -C "${srcdir}/${pkgname}"
}

package() {
  cd "${srcdir}/${pkgname}/"
  install -Dm 775 "${_name}" "${pkgdir}/usr/bin/${_name}"
  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}