blob: d3ee7a0a1bd9306d2b3c5abcba96585cdf681162 (
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
31
32
|
# Maintainer: Arne Beer <arne@twobeer.de>
_gitname=pueue
pkgname=${_gitname}-git
pkgver=0.3.6
pkgrel=1
arch=('any')
pkgdesc='A command scheduler for shells'
license=('MIT')
depends=('python')
makedepends=('git python-setuptools')
provides=('pueue')
url='https://github.com/nukesor/pueue'
source=("git+https://github.com/nukesor/pueue.git")
sha256sums=('SKIP')
package() {
cd "${_gitname}"
# We don't need anything related to git in the package
rm -rf .git*
# Install
python setup.py install --optimize=1 --root="${pkgdir}"
# Place systemd user service
install -Dm644 "utils/${_gitname}.service" "${pkgdir}/usr/lib/systemd/user/${_gitname}.service"
# Install License
# MIT/X11 license
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|