summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-09-29 12:10:46 +1300
committercaltlgin2020-09-29 12:10:46 +1300
commit22bc878120e27d257f524a917b5ff8fe51d9266d (patch)
tree620a178a029060332f6d954a914b867198fa577b
parent15f80c05c012e601bb4b1f800f0524e1f1a9e274 (diff)
downloadaur-22bc878120e27d257f524a917b5ff8fe51d9266d.tar.gz
Add to AUR
-rw-r--r--.SRCINFO19
-rw-r--r--[-rwxr-xr-x]PKGBUILD45
-rwxr-xr-xenvelope.install16
3 files changed, 23 insertions, 57 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 54257656851..623c7dc6d62 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,17 @@
pkgbase = envelope-git
- pkgdesc = Personal budget application for the Elementary OS desktop
- pkgver = 386.97c1a25
+ pkgdesc = Personal budget manager
+ pkgver = 0.0.4.r8.g0c0b212
pkgrel = 1
- url = http://nlaplante.github.io/envelope/
- install = envelope.install
- arch = i686
+ url = https://github.com/cjfloss/envelope
arch = x86_64
license = GPL3
makedepends = git
+ makedepends = meson
makedepends = vala
- makedepends = cmake
depends = granite
- depends = gtk3
- depends = libgee
- depends = glib2
- depends = glib-networking
- depends = sqlheavy
+ depends = sqlite
provides = envelope
- conflicts = envelope
- source = git+https://github.com/nlaplante/envelope.git
+ source = git+https://github.com/cjfloss/envelope.git
sha256sums = SKIP
pkgname = envelope-git
diff --git a/PKGBUILD b/PKGBUILD
index b8370fe042b..505d7b130a7 100755..100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,31 @@
-# Maintainer: Marcin Tydelski <marcin.tydelski@gmail.com>
-# Contributor: Nicolas Laplante <https://launchpad.net/~nicolas-laplante>
+# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
-pkgname=envelope-git
-pkgver=386.97c1a25
+_pkgname='envelope'
+pkgname="${_pkgname}-git"
+pkgver=0.0.4.r8.g0c0b212
pkgrel=1
-_gitname=envelope
-pkgdesc='Personal budget application for the Elementary OS desktop'
-arch=('i686' 'x86_64')
-url='http://nlaplante.github.io/envelope/'
+pkgdesc='Personal budget manager'
+arch=('x86_64')
+url='https://github.com/cjfloss/envelope'
license=('GPL3')
-depends=('granite' 'gtk3' 'libgee' 'glib2' 'glib-networking' 'sqlheavy')
-makedepends=('git' 'vala' 'cmake')
-provides=("${pkgname%-*}")
-conflicts=("${pkgname%-*}")
-install="${pkgname%-*}.install"
-source=('git+https://github.com/nlaplante/envelope.git')
+depends=('granite' 'sqlite')
+makedepends=('git' 'meson' 'vala')
+provides=("${_pkgname}")
+source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
- cd $_gitname
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd $_gitname
-
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
- make
+ arch-meson "${_pkgname}" build
+ meson compile -C build
}
package() {
- cd $_gitname/build
-
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" meson install -C build
+ install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" "${_pkgname}/README.md"
}
-# vim: ts=2 sw=2 et: \ No newline at end of file
+# vim: ts=2 sw=2 et:
diff --git a/envelope.install b/envelope.install
deleted file mode 100755
index 826f632e9bf..00000000000
--- a/envelope.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- gtk-update-icon-cache -ftq usr/share/icons/hicolor
-}
-
-post_upgrade() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- gtk-update-icon-cache -ftq usr/share/icons/hicolor
-}
-
-post_remove() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- gtk-update-icon-cache -ftq usr/share/icons/hicolor
-}
-
-# vim: ts=2 sw=2 et: \ No newline at end of file