|
@@ -1,5 +1,5 @@
|
|
pkgname=pacman-repo
|
|
pkgname=pacman-repo
|
|
-pkgver=r3.4985117
|
|
+pkgver=r4.b23a9b9
|
|
pkgver() {
|
|
pkgver() {
|
|
cd "$srcdir/$pkgname";
|
|
cd "$srcdir/$pkgname";
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
@@ -19,18 +19,11 @@ build() {
|
|
nuitka3 \
|
|
nuitka3 \
|
|
--show-progress \
|
|
--show-progress \
|
|
--follow-imports \
|
|
--follow-imports \
|
|
- --include-package=pacman_repo \
|
|
+ --include-module pacman_repo \
|
|
- --module pacman_repo
|
|
|
|
- nuitka3 \
|
|
|
|
- --show-progress \
|
|
|
|
- --follow-imports \
|
|
|
|
pacman_repo/command_line.py
|
|
pacman_repo/command_line.py
|
|
- # --remove-output \
|
|
|
|
- # -o pacman-repo \
|
|
|
|
}
|
|
}
|
|
package() {
|
|
package() {
|
|
cd "$srcdir/$pkgname";
|
|
cd "$srcdir/$pkgname";
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
install -D command_line.bin "$pkgdir/usr/bin/pacman-repo"
|
|
install -D command_line.bin "$pkgdir/usr/bin/pacman-repo"
|
|
- install -D pacman_repo.so "$pkgdir/usr/lib/python3.8/site-packages/pacman_repo.so"
|
|
|
|
}
|
|
}
|