Compare commits
No commits in common. "4288f86fd1b753e7d89df61ffa74e27f9d00fb5b" and "36371368fd06bb347e6d29d7fb031fc3ed9236a7" have entirely different histories.
4288f86fd1
...
36371368fd
@ -1,48 +0,0 @@
|
|||||||
# Maintainer: Fabrice Mouhartem <aur-packages@epheme.re>
|
|
||||||
#
|
|
||||||
# Inspired by fanficfare-git's PKGBUILD
|
|
||||||
# (https://aur.archlinux.org/packages/fanficfare-git)
|
|
||||||
_pkgname=kalamine
|
|
||||||
pkgname=kalamine-git
|
|
||||||
pkgver=r77.decbb32
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="A text-based, cross-platform Keyboard Layout Maker."
|
|
||||||
arch=('any')
|
|
||||||
url="https://github.com/fabi1cazenave/${_pkgname}"
|
|
||||||
license=('MIT')
|
|
||||||
groups=()
|
|
||||||
_deps=(
|
|
||||||
'click'
|
|
||||||
'pyyaml'
|
|
||||||
'setuptools'
|
|
||||||
'tomli'
|
|
||||||
'lxml'
|
|
||||||
)
|
|
||||||
depends=("${_deps[@]/#/python-}")
|
|
||||||
makedepends=(
|
|
||||||
'git'
|
|
||||||
'python-hatchling'
|
|
||||||
)
|
|
||||||
provides=("${pkgname%-git}")
|
|
||||||
conflicts=("${pkgname%-git}")
|
|
||||||
install=
|
|
||||||
source=("git+${url}.git")
|
|
||||||
md5sums=('SKIP')
|
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$srcdir/${_pkgname}"
|
|
||||||
|
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$srcdir/${_pkgname}"
|
|
||||||
|
|
||||||
python -m build --wheel --no-isolation
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$srcdir/${_pkgname}"
|
|
||||||
|
|
||||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
|
||||||
}
|
|
@ -26,7 +26,7 @@ install=
|
|||||||
changelog=
|
changelog=
|
||||||
source=("suspend-resume.tar.gz")
|
source=("suspend-resume.tar.gz")
|
||||||
noextract=()
|
noextract=()
|
||||||
sha512sums=('9cdb5c97125749549624fffd12796c65d41aea374b91d2ef740da3c05f6349883418d150844d23cc6afdba2a59166bdd62bd4b444f933d89bb5b13eb844a66c9')
|
sha512sums=('04cd25a3eb701ae23ad7a66da900db8ea8a3f49694c05b59f9d7418e3713d66b2df6ce221f9a39c592d3df230d0c41db864dc4a09c5d6e8a63cd3483d1557d86')
|
||||||
validpgpkeys=()
|
validpgpkeys=()
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
@ -41,6 +41,5 @@ package() {
|
|||||||
install -d "$pkgdir/opt"
|
install -d "$pkgdir/opt"
|
||||||
install -d "$pkgdir/etc/systemd/system/"
|
install -d "$pkgdir/etc/systemd/system/"
|
||||||
install -m755 "$pkgname/opt/suspend-resume.sh" "$pkgdir/opt/"
|
install -m755 "$pkgname/opt/suspend-resume.sh" "$pkgdir/opt/"
|
||||||
install -m644 "$pkgname/etc/systemd/system/suspend-resume.timer" "$pkgdir/etc/systemd/system/"
|
|
||||||
install -m644 "$pkgname/etc/systemd/system/suspend-resume.service" "$pkgdir/etc/systemd/system/"
|
install -m644 "$pkgname/etc/systemd/system/suspend-resume.service" "$pkgdir/etc/systemd/system/"
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user