summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52f70398063cbc1211b69558d92ade04f4c0c5b1 (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
27
28
# Maintainer: Thomas "Ventto" Venriès <thomas.venries@gmail.com>

pkgname=mons
pkgver=0.8.2
pkgrel=1
pkgdesc='POSIX Shell script to quickly manage 2-monitors display.'
arch=('any')
url="https://github.com/Ventto/${pkgname}.git"
license=('MIT')
depends=('xorg-xrandr')
provides=("${pkgname}")
conflicts=("${pkgname}")
makedepends=('help2man')
source=("https://github.com/Ventto/${pkgname}/archive/v${pkgver}.tar.gz"
        "https://github.com/Ventto/libshlist/archive/v1.1.tar.gz")

sha256sums=('SKIP' 'SKIP')

prepare() {
  cd ${srcdir}
  rm -r ${pkgname}-${pkgver}/libshlist
  mv 'libshlist-1.1' ${pkgname}-${pkgver}/libshlist
}

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