diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 33 | ||||
-rw-r--r-- | README.md | 3 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b8a37ff0186e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = croco-boot-options-git + pkgdesc = A Boot options utility for Croco OS + pkgver = r5.466cbc3 + pkgrel = 1 + url = https://gitlab.com/croco-os/applications/croco-boot-options + arch = any + groups = croco-git + license = GPL3 + makedepends = git + depends = qt5-base + depends = xdg-utils + depends = grub + depends = polkit + optdepends = plymouth + provides = croco-boot-options + conflicts = croco-boot-options + source = git+https://gitlab.com/croco-os/applications/croco-boot-options.git + md5sums = SKIP + +pkgname = croco-boot-options-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e9fe386d1227 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +_pkgname=croco-boot-options +pkgname=${_pkgname}-git +pkgver=r5.466cbc3 +pkgrel=1 +pkgdesc="A Boot options utility for Croco OS" +arch=('any') +url="https://gitlab.com/croco-os/applications/croco-boot-options" +license=('GPL3') +depends=('qt5-base' 'xdg-utils' 'grub' 'polkit') +optdepends=('plymouth') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +groups=('croco-git') +source=("git+https://gitlab.com/croco-os/applications/${_pkgname}.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${_pkgname}" +# Git, no tags available + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${_pkgname}" + qmake-qt5 ${_pkgname}.pro + make +} + +package() { + cd "$srcdir/${_pkgname}" + make INSTALL_ROOT=${pkgdir} install +} diff --git a/README.md b/README.md new file mode 100644 index 000000000000..3b1b54412bab --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# croco-boot-options-git + +PKGBUILD for croco-boot-options-git |