mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
initial commit
This commit is contained in:
commit
a15ab3016c
2 changed files with 51 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
pkgbase = typhoon-git
|
||||
pkgdesc = A stylish weather app based on Stormcloud
|
||||
pkgver = r103.gdf1fe35
|
||||
pkgrel = 1
|
||||
url = https://github.com/archisman-panigrahi/typhoon
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = meson
|
||||
makedepends = ninja
|
||||
depends = gtk3
|
||||
depends = webkit2gtk
|
||||
depends = python
|
||||
provides = typhoon
|
||||
conflicts = typhoon
|
||||
source = git+https://github.com/archisman-panigrahi/typhoon#branch=develop
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = typhoon-git
|
||||
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Archisman Panigrahi <apandada1@gmail.com>
|
||||
pkgname=typhoon-git
|
||||
_pkgname=typhoon
|
||||
pkgver=r103.gdf1fe35
|
||||
pkgrel=1
|
||||
pkgdesc="A stylish weather app based on Stormcloud"
|
||||
arch=('any')
|
||||
url="https://github.com/archisman-panigrahi/typhoon"
|
||||
provides=($_pkgname)
|
||||
conflicts=($_pkgname)
|
||||
license=('MIT')
|
||||
depends=('gtk3' 'webkit2gtk' 'python')
|
||||
makedepends=('git' 'meson' 'ninja')
|
||||
source=("git+$url#branch=develop")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
# Use the latest commit hash if no tags are available
|
||||
git describe --tags --long 2>/dev/null || echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
meson setup build --prefix=/usr
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue