aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxde-common/APKBUILD
blob: b18dbf86cfd653ac95c3a7dbacf38f462908cabc (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
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>

pkgname=lxde-common
pkgver=0.5.5
pkgrel=0
pkgdesc='Common files of the LXDE Desktop'
arch='noarch'
url='http://lxde.org/'
license='GPL2'
depends='lxsession'
source="http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz
        startlxde.patch"

prepare() {
    cd "$srcdir"/$pkgname-$pkgver
    patch -Np0 -i $srcdir/startlxde.patch || return 1
}

build() {
    cd "$srcdir"/$pkgname-$pkgver
    ./configure --sysconfdir=/etc --prefix=/usr || return 1
    make || return 1
}

package() {
    cd "$srcdir"/$pkgname-$pkgver
    make DESTDIR="$pkgdir" install || return 1
    install -Dm644 lxde-logout.desktop \
      "$pkgdir"/usr/share/applications/lxde-logout.desktop || return 1
}
md5sums="e51a6b2a815a89fda1f497b509465a97  lxde-common-0.5.5.tar.gz
11aca3bcc2ea8fa2c03e72056a52d1fc  startlxde.patch"
sha256sums="ee18a09b64a442b33c1b54f0269649a1b4d9490460c400a07ed785d41bf6dde6  lxde-common-0.5.5.tar.gz
0b4192c52142369677d02474133a1da733a250a0e2ed9a4b55275428b90e38aa  startlxde.patch"
sha512sums="44848286ccf3aa269df1680e14a8d3c41be1c2af956bd5121fc05d97a892fdc13d1e74191a2a11a40e96a8f31f8be37b1cfb9afeac4474fcab88d07508647c7f  lxde-common-0.5.5.tar.gz
dd25e91d9b350784b3434390c68ffaa763a966e0977c0a8ee57fe920c5793f2ecc42446ca332f294cc2e840f951099ab348f052f54ae9aac22d8e77d19f30919  startlxde.patch"