blob: 9169e51420c6721e90482ff549b8939ab4546585 (
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
29
30
|
# Maintainer: Vlad Glagolev <scm(at)vaygr(dot)net>
pkgname=xplugd
pkgver=1.4
pkgrel=2
pkgdesc="monitor, keyboard, and mouse [un]plug helper for X"
arch=('i686' 'x86_64')
license=('MIT')
url="https://github.com/troglobit/xplugd"
depends=('libx11' 'libxi' 'libxrandr')
optdepends=('sh: example script')
provides=("${pkgname}")
conflicts=("${pkgname}-git")
source=(${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('6059cf92075fc5c32c3ff427447f3de66afb64d768459065d422f72d4ee363f4')
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|