Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(CI): add archlinux PKGBUILD for obs build #1

Merged
merged 2 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions archlinux/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Maintainer: justforlxz <[email protected]>
pkgname=deepin-launchpad-git
pkgver=0.0.0
pkgrel=1
sourcename=dde-launchpad
sourcetars=("$sourcename"_"$pkgver".tar.xz)
sourcedir="$sourcename"
pkgdesc='Deepin desktop-environment - Launchpad module'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/dde-launchpad"
license=('GPL3')
depends=('qt5-svg' 'deepin-daemon' 'kitemmodels' 'qt5-quickcontrols'
'appstream-qt' 'dtkdeclarative' 'dtkwidget' 'dtkcore'
'qt5-base' 'qt5-x11extras' 'qt5-svg')
makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'dtkcommon' )
conflicts=('deepin-launcher')
provides=('deepin-launchpad')
groups=('deepin-git')
source=("${sourcetars[@]}")
sha512sums=('SKIP')

prepare() {
cd $sourcedir
}

build() {
cd $sourcedir
cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr
ninja
}

package() {
cd $sourcedir
DESTDIR="$pkgdir" ninja install
}
2 changes: 2 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Build-Depends:
qtquickcontrols2-5-dev,
libdtkcommon-dev,
libdtkcore-dev,
# v-- provides qdbusxml2cpp-fix binary
libdtkcore5-bin,
# v-- provides DHiDPIHelper
libdtkwidget-dev,
libdtkgui-dev,
Expand Down
Loading