summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEyenpi2021-08-17 12:07:44 +0430
committerEyenpi2021-08-17 12:07:44 +0430
commit16e323753aaf2f35ed48da62f02c8ff7b05dec95 (patch)
tree364eb4c0ad156d9b954316beb019766927c8830c
downloadaur-16e323753aaf2f35ed48da62f02c8ff7b05dec95.tar.gz
initial release
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD34
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4e6efc813f4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = cutefish-core-git
+ pkgdesc = System components and backend of CutefishOS
+ pkgver = 0.3.r42.g9c18511
+ pkgrel = 1
+ url = https://github.com/cutefishos/core
+ arch = x86_64
+ groups = cutefish-git
+ license = GPL
+ makedepends = extra-cmake-modules
+ makedepends = ninja
+ makedepends = qt5-tools
+ makedepends = git
+ depends = fishui-git
+ depends = libpulse
+ depends = libxtst
+ depends = polkit-qt5
+ provides = cutefish-core
+ conflicts = cutefish-core
+ source = git+https://github.com/cutefishos/core.git
+ sha512sums = SKIP
+
+pkgname = cutefish-core-git
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..31d27563afe
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..35342b47257
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Ali Nabipour <alinabipour01@gmail.com>
+
+pkgname=cutefish-core-git
+_pkgname=cutefish-core
+pkgver=0.3.r42.g9c18511
+pkgrel=1
+pkgdesc="System components and backend of CutefishOS"
+arch=('x86_64')
+url="https://github.com/cutefishos/core"
+license=('GPL')
+groups=('cutefish-git')
+depends=('fishui-git' 'libpulse' 'libxtst' 'polkit-qt5')
+makedepends=('extra-cmake-modules' 'ninja' 'qt5-tools' 'git')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("git+$url.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd core
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd core
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ cd core
+ make DESTDIR="$pkgdir" install
+}