Add package build to generate Arch package
This commit is contained in:
parent
7c36a3482b
commit
6731e38288
31
AUR/PKGBUILD
Normal file
31
AUR/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
pkgrel=1
|
||||
pkgver=r1.7c36a34
|
||||
pkgname="shimatta-browser-select"
|
||||
depends=('python' 'python-appdirs' 'python-toml')
|
||||
makedepends=('git')
|
||||
provides=('shimatta-browser-select')
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
pkgdesc="Python wrapper that redirects different URLs to different browsers"
|
||||
url="https://git.shimatta.de/mhu/browser-select"
|
||||
|
||||
source=("$pkgname"::"git+https://git.shimatta.de/mhu/browser-select.git")
|
||||
sha1sums=('SKIP')
|
||||
|
||||
pkgver () {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build () {
|
||||
echo "Nothing to build"
|
||||
}
|
||||
|
||||
package () {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
install -D -m664 "$srcdir/$pkgname/browser_select.desktop" \
|
||||
"$pkgdir/usr/share/applications/browser_select.desktop"
|
||||
install -D -m775 "$srcdir/$pkgname/browser_select.py" \
|
||||
"$pkgdir/usr/bin/browser_select.py"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user