diff options
author | Derek Taylor | 2020-03-20 16:06:28 -0500 |
---|---|---|
committer | Derek Taylor | 2020-03-20 16:06:28 -0500 |
commit | 8c4d26e00bff2e2b670b685f3832d5c3352dce74 (patch) | |
tree | f5369477d90aefeef0bed4a8b4bae09aac8fa775 | |
download | aur-8c4d26e00bff2e2b670b685f3832d5c3352dce74.tar.gz |
Renamed package to reflect git in package name.
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d3094db19566 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = dwm-distrotube-git + pkgdesc = A heavily-patched and customized build of dwm from DistroTube. + pkgver = 6.2 + pkgrel = 1 + url = https://gitlab.com/dwt1/dwm-distrotube.git + arch = x86_64 + arch = i686 + license = MIT + makedepends = make + depends = libx11 + depends = libxinerama + depends = libxft + depends = freetype2 + depends = st + depends = dmenu + optdepends = nerd-fonts-complete + optdepends = ttf-symbola + provides = dwm + conflicts = dwm + source = git+https://gitlab.com/dwt1/dwm-distrotube.git + md5sums = SKIP + +pkgname = dwm-distrotube-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..128b885e51a6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Derek Taylor (DistroTube) <derek@distrotube.com> +pkgname=dwm-distrotube-git +pkgver=6.2 +pkgrel=1 +pkgdesc="A heavily-patched and customized build of dwm from DistroTube." +arch=(x86_64 i686) +url="https://gitlab.com/dwt1/dwm-distrotube.git" +license=('MIT') +groups=() +depends=(libx11 libxinerama libxft freetype2 st dmenu) +makedepends=(make) +checkdepends=() +optdepends=(nerd-fonts-complete ttf-symbola) +provides=(dwm) +conflicts=(dwm) +replaces=() +backup=() +options=() +source=("git+$url") +noextract=() +md5sums=('SKIP') +validpgpkeys=() + +pkgver() { + cd "${_pkgname}" + _pkgver=$(awk '/VERSION/ {print $3}' config.mk|head -1) + echo "${_pkgver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +build() { + cd "${pkgname}" + make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2 +} + +package() { + cd dwm-distrotube + mkdir -p ${pkgdir}/opt/${pkgname} + cp -rf * ${pkgdir}/opt/${pkgname} + make PREFIX=/usr DESTDIR="${pkgdir}" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm644 "${srcdir}/${pkgname}/dwm.desktop" "$pkgdir/usr/share/xsessions/dwm.desktop" +} + |