summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 647e5a5d2c4cdf462fb16352738a57c5d1048e20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Bug <bug2000@gmail.com>
# Maintainer: Bug <bug2000@gmail.com>
pkgname=dexed-ide
_pkgname=dexed
pkgver=3.9.26
pkgrel=1
pkgdesc="IDE for the D programming language, its compilers, tools and libraries"
arch=(x86_64)
url="https://gitlab.com/basile.b/dexed"
license=('Boost')
depends=(dcd dscanner vte-legacy)
makedepends=(lazarus git)
conflicts=(dexed-ide-bin)
checkdepends=()
#source=("https://gitlab.com/basile.b/$_pkgname/-/archive/v$pkgver/$_pkgname-v$pkgver.tar.gz")
source=("git+https://gitlab.com/basile.b/$_pkgname.git#tag=v$pkgver")
md5sums=('SKIP')

prepare() {
    cd "${srcdir}/${_pkgname}"
    git submodule update --init
}

build() {
	cd "$_pkgname"
    cd lazproj
    lazbuild -B dexeddesigncontrols.lpk
    lazbuild -B dexed.lpi
}

package() {
	cd "$_pkgname"
    install -Dm755 "bin/dexed" "${pkgdir}/usr/bin/dexed"
    install -Dm644 "bin/libdexed-d.so" "${pkgdir}/usr/lib/libdexed-d.so"
}