bottles-opener: new package
This commit is contained in:
1 parent
b7079ecff4
commit
54d9875d56
5 files changed
+114
No files matched your search
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Felitendo
|
||||
# This PKGBUILD is updated automatically:
|
||||
# https://github.com/Felitendo/PKGBUILDS
|
||||
|
||||
pkgname=bottles-opener
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Double-click a file and it opens in its Windows program, inside its Bottles bottle"
|
||||
arch=('any')
|
||||
url="https://github.com/Felitendo/bottles-opener"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=('bash' 'coreutils' 'gawk' 'grep' 'sed' 'gettext' 'shared-mime-info' 'systemd')
|
||||
makedepends=('gettext' 'scdoc')
|
||||
optdepends=('bottles: Bottles itself (the Flatpak works too)'
|
||||
'python-yaml: read bottles without starting the Bottles Flatpak'
|
||||
'icoextract: extract file icons without starting the Bottles Flatpak'
|
||||
'libnotify: report files that could not be opened'
|
||||
'desktop-file-utils: refresh the desktop database after a change'
|
||||
'flatpak: open files with the Bottles Flatpak')
|
||||
install="${pkgname}.install"
|
||||
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha256sums=('4120340cacb141feb4cbbd16475a894873bfff3f4b9ba969614918b68ae5ab6c')
|
||||
|
||||
build() {
|
||||
# pass the version being packaged so `bottles-opener --version` cannot drift
|
||||
# away from pkgver
|
||||
make -C "${pkgname}-${pkgver}" VERSION="$pkgver"
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C "${pkgname}-${pkgver}" VERSION="$pkgver" DESTDIR="$pkgdir" install
|
||||
}
|
||||
Reference in new issue
Block a user