Skip to content
Snippets Groups Projects
PKGBUILD 989 B
Newer Older
Eric Vidal's avatar
Eric Vidal committed
# Copyright (c) 2015-2024 Eric Vidal <eric@obarun.org>
# All rights reserved.
Eric Vidal's avatar
Eric Vidal committed
#
# This file is part of Obarun. It is subject to the license terms in
# the LICENSE file found in the top-level directory of this
Eric Vidal's avatar
Eric Vidal committed
# distribution.
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
#
Eric Vidal's avatar
Eric Vidal committed
# Maintainer: Obarun-install-themes templates <eric@obarun.org>
# DO NOT EDIT this PKGBUILD if you don't know what you do

pkgname=obarun-install-themes
pkgver=23536df
pkgrel=1
pkgdesc="Templates for automatic installation by obarun-install"
arch=(x86_64)
url="file:///var/lib/obarun/$pkgname/update_package/$pkgname"
license=(ISC)
Eric Vidal's avatar
Eric Vidal committed
depends=(obarun-install oblog make)
Eric Vidal's avatar
Eric Vidal committed
#install=
source=("$pkgname::git+file:///var/lib/obarun/$pkgname/update_package/$pkgname")
md5sums=(SKIP)

pkgver() {
Eric Vidal's avatar
Eric Vidal committed
    cd "${pkgname}"

    git describe --tags | sed -e 's:-:+:g;s:^v::'
Eric Vidal's avatar
Eric Vidal committed
}

package() {
Eric Vidal's avatar
Eric Vidal committed
    cd "${pkgname}"
Eric Vidal's avatar
Eric Vidal committed
    make DESTDIR="$pkgdir" install